--- license: cc-by-4.0 task_categories: - object-detection - image-classification - video-classification language: - en tags: - poultry - chicken - egg - broiler - hen - agriculture - smart-farming - precision-livestock-farming - animal-welfare - multi-camera - tracking - yolo - yolov11 - computer-vision size_categories: - 10K/*.jpg │ ├── val//*.jpg │ └── test//*.jpg ├── videos/ # 24 MP4 videos (4 cameras × 6 samples) ├── calibrations/ # Camera calibration (intrinsics + extrinsics) │ └── cam_/ │ ├── intrinsics/{cameraMatrix.txt, distCoeffs.txt} │ └── extrinsics/{rvec.txt, tvec.txt} ├── multi_view_detection/ # Pre-computed per-frame YOLO detections ├── reprojection_masks/ # Ground-plane ROI masks └── tracking_gt/ # Multi-camera tracking ground truth ``` --- ## Quick start ### Download ```bash pip install huggingface_hub hf download --repo-type dataset Williamsanderson/PoultryVision-Dataset --local-dir PoultryVision-Dataset ``` ### Train a YOLO detector ```python from ultralytics import YOLO model = YOLO("yolo11m.pt") model.train( data="PoultryVision-Dataset/data.yaml", epochs=70, imgsz=640, batch=16, optimizer="AdamW", lr0=0.001, ) ``` Reference YOLO recipe that produced the published model: ```yaml model: yolo11m.pt epochs: 70 imgsz: 640 optimizer: AdamW lr0: 0.001 hsv_h: 0.015 hsv_s: 0.7 hsv_v: 0.4 mosaic: 1.0 mixup: 0.1 close_mosaic: 10 auto_augment: randaugment ``` ### Image classification ```python from torchvision.datasets import ImageFolder from torchvision import transforms tfm = transforms.Compose([ transforms.Resize((224, 224)), transforms.ToTensor(), ]) train = ImageFolder("PoultryVision-Dataset/classification/train", transform=tfm) ``` ### Multi-camera tracking Calibration files follow the MVBroTrack paper convention. Each camera folder contains `cameraMatrix.txt`, `distCoeffs.txt`, `rvec.txt`, `tvec.txt`. The repository ships a full multi-view pipeline (Algorithm 1 & 2 of the paper, Tracking-by-Curve-Matching) — see [`Williamsanderson/PoultryVision` model repo](https://huggingface.co/Williamsanderson/PoultryVision). --- ## 🏆 Benchmark Model trained on this dataset (YOLOv11m, 70 epochs, imgsz 640, AdamW): | Metric | Value | |---------------|-------:| | mAP@50-95 | **0.793** | | mAP@50 | **0.971** | | Precision | 0.934 | | Recall | 0.934 | Compared to the MVBroTrack paper (Cardoen et al., 2025): | Model | mAP@50-95 | Params | |-------------------------------------|:---------:|:------:| | YOLOv11x fine-tuned (paper) | 70.8 % | 56.9 M | | **YOLOv11m fine-tuned (ours)** | **79.3 %**| 20.1 M | --- ## License This dataset is released under **CC-BY-4.0**. - The unified packaging, splits and labels harmonization are © 2025 Williams Anderson, CC-BY-4.0. - Individual source datasets retain their original licenses: - **MVBroTrack** (Cardoen et al., 2025) — see the original paper and its data statement - **Roboflow Universe** datasets — typically CC-BY-4.0 (check each source) - **images.cv** datasets — CC-BY-4.0 / public domain - Please cite the original sources if you use the corresponding subsets. --- ## Citation ```bibtex @misc{williamsanderson_poultryvision_dataset_2025, title = {PoultryVision: A Unified Dataset for Poultry-Farm Computer Vision}, author = {Williams Anderson}, year = {2025}, howpublished = {\url{https://huggingface.co/datasets/Williamsanderson/PoultryVision-Dataset}}, } @article{cardoen2025mvbrotrack, title = {Multi-camera detection and tracking for individual broiler monitoring}, author = {Cardoen, J. and others}, journal = {Computers and Electronics in Agriculture}, year = {2025} } ``` --- ## Acknowledgements - **Cardoen et al.** (MVBroTrack) for the multi-camera broiler data - **Roboflow** and **images.cv** communities for the chicken / egg datasets - **Ultralytics** for the YOLOv11 framework that produced the reference model