Skip to content
Projects

bhuiyanmobasshir94/CID has 28 GitHub stars and 12 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-14 09:11 UTC. Last push 2026-09-26.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

CID: Cow Images dataset for regression and classification

AI

README.md

Original

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

Explore related projects