Skip to content
Proyek

Tentang

CID: Cow Images dataset for regression and classification

Desain dan media

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
+1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

CID — Cow Images Dataset for Regression & Classification

A curated dataset of cattle images and metadata intended for computer vision and machine learning tasks such as weight estimation (regression) and breed classification. This repository provides links to the image archives and the primary CSV metadata file used in our experiments.

Overview

Cattle livestock trading and management are growing rapidly. Accurate, automated tools for estimating weight and identifying breed from images can help producers, researchers, and agritech solutions make better decisions at scale. CID (Cow Images Dataset) was created to support research in these areas and to provide a reproducible dataset for benchmarking.

Key features:

  • High-quality images of cows suitable for computer vision tasks.
  • A CSV metadata file with labels and measurements for supervised learning.
  • Separate archive of YouTube-sourced images for additional variability.

Datasets

Download the dataset archives and metadata:

Dataset creation repository: https://github.com/bhuiyanmobasshir94/Cow-weight-and-Breed-Prediction

Quick start

  1. Download and extract the image archives:
wget https://cid-21.s3.amazonaws.com/images.tar.gz
tar -xzf images.tar.gz

wget https://cid-21.s3.amazonaws.com/yt_images.tar.gz
tar -xzf yt_images.tar.gz
  1. Download the metadata CSV:
wget https://cid-21.s3.amazonaws.com/dataset.csv
  1. Example: preview the CSV with Python (pandas)
import pandas as pd

df = pd.read_csv("dataset.csv")
print(df.head())
print(df.info())
  1. Example: load images for training (PyTorch example outline)
from torchvision import transforms
from torchvision.datasets import ImageFolder
from torch.utils.data import DataLoader

transform = transforms.Compose([
    transforms.Resize((224, 224)),
    transforms.ToTensor(),
])

dataset = ImageFolder(root="images", transform=transform)
loader = DataLoader(dataset, batch_size=32, shuffle=True)

Adjust preprocessing and model architecture to suit regression or classification tasks.

Citation

If you use this dataset in your research, please cite the dataset and the publication:

DOI: https://doi.org/10.1145/3542954.3543018

BibTeX:

@inproceedings{shagor2022cid,
  title     = {CID: Cow Images Dataset for Regression and Classification},
  author    = {Shagor, Mobasshir Bhuiya and Alvi, Md Zahidul Haque and Hasan, Khandaker Tabin},
  booktitle = {Proceedings of the 2nd International Conference on Computing Advancements (ICCA '22)},
  year      = {2022},
  doi       = {10.1145/3542954.3543018}
}

Maintenance & Contact

Maintainer: bhuiyanmobasshir94
Repository: https://github.com/bhuiyanmobasshir94/CID

If you find issues with the dataset (missing files, broken links, label errors), please open an issue in this repository with details and example files when possible.

Acknowledgements

This dataset was assembled as part of the Cow-weight-and-Breed-Prediction project: https://github.com/bhuiyanmobasshir94/Cow-weight-and-Breed-Prediction

Jelajahi proyek terkait

Memuat…