Complete Technical Paper Content — Ai For Agriculture
1. Executive Abstract, Problem Formulation & Background
AI in Agriculture — A Survey of Deep Learning Techniques for Crops, Fisheries and Livestock Umair Nawaz , Muhammad Zaigham Zaheer , Fahad Shahbaz Khan , Hisham Cholakkal , Salman Khan , Rao M. Anwer 1. What is this repository? This repository complements our survey paper, “AI in Agriculture: A Survey of Deep Learning Techniques for Crops, Fisheries and Livestock” , which is a comprehensive review of machine and deep-learning techniques for (A) crops, (B) fisheries, and (C) livestock domain. It provides readers with: a curated index of 200+ referenced papers ; high-resolution artwork (taxonomy diagrams, dataset examples, etc.); guidelines for contributing new references once the survey is published. The goal is to make it effortless for researchers, practitioners and students to navigate the literature, replicate our analyses and extend the survey as the field evolves. The Pie chart represents the distribution of papers discussed in this survey under four methodological categories (CM: Conventional Methods, CNNs: Convolutional Neural Networks, ViTs: Vision Transformers, FMs: Foundational Models). Each domain’s angular span is proportional to its total paper count, and each inner slice’s radial extent encodes the method’s share within that domain in this survey. 2. Paper at a glance Highlight Details Domains covered Crops, Livestock, Fisheries Techniques reviewed Conventional ML, CNNs, Vision Transformers, Vision-Language & Foundation Models Key themes Datasets & Benchmarks · Task Taxonomy · Implementation Challenges · Future Directions Total Papers Covered 200+ peer-reviewed papers and preprints Journal / venue Pre-print , under submission Feel free to ⭐ star and fork this repository to keep up with the latest advancements and contribute to the community. A taxonomy of AI applications in agriculture divided into three domains: crops, livestock, and fisheries. We highlight various ML tasks for each domain along with the domain-specific challenges. Furthermore, a detailed overview of common datasets in each domain is specified, along with different approaches used, ranging from conventional ML methods to foundation models. 📌 Contents Section Subsection 📖 Introduction Motivation & Scope , Contributions , Organization 🌾 AI for Crops Machine Learning Tasks, Challenges, Key Crop Datasets ⚙️ ML Techniques in Crops Conventional Approaches, CNNs , ViTs , Foundation Models 🐟 AI for Fisheries Machine Learning Tasks, Challenges, Key Crop Datasets 🎣 ML Techniques in Fisheries Conventional Approaches , CNNs , ViTs , Foundation Models 🐄 AI for Livestock Machine Learning Tasks, Challenges, Key Crop Datasets 🛠️ ML Techniques in Livestock Conventional Approaches , CNNs , ViTs , Foundation Models 🌐 Cross-cutting Challenges & Opportunities Data Variability & Standardization, Model Transferability & Generalization, Resource Constraints & Edge Deployment, Explainability & Trustworthiness 🚀 Future Research Directions Unifying Multi-modal Foundation Models , Continual and Federated Adaptation , Edge-Efficient AI for Real-time Decision Support , Agentic AI for Autonomous Farming 💡 Any other Suggestions Lectures , Workshops 🔗 Other Resources Additional Research & Readings 📖 Papers 🔍 Survey Title Publication Date Link AI in Agriculture: A Survey of Deep Learning Techniques for Crops, Fisheries and Livestock TBA Arxiv Fish tracking, counting, and behaviour analysis in digital aquaculture: a comprehensive survey 07 Jan 2025 WILEY A survey on deep learning in UAV imagery for precision agriculture and wild flora monitoring: Datasets, models and challenges 29 Oct 2024 ScienceDirect Recent advances in Transformer technology for agriculture 11 Oct 2024 ScienceDirect A survey of data collaborative sensing methods for smart agriculture 28 Aug 2024 ScienceDirect A Survey of Deep Learning for Intelligent Feeding in Smart Fish Farming 03 May 2024 ACM Deep learning for smart fish farming: applications, opportunities and challenges 03 May 2024 Arxiv Machine Learning Applications in Agriculture: Current Trends, Challenges, and Future Perspectives 01 Dec 2023 MDPI A Survey of Computer Vision Technologies in Urban and Controlled-environment Agriculture 27 Nov 2023 ACM Applications of deep learning in fish habitat monitoring: A tutorial and survey 01 Oct 2023 ScienceDirect A review of deep learning techniques used in agriculture 18 July 2023 ScienceDirect A systematic literature review on deep learning applications for precision cattle farming 12 Jul 2021 ScienceDirect A systematic literature review on the use of machine learning in precision livestock farming 20 Oct 2020 ScienceDirect A Systematic Literature Review on the Use of Deep Learning in Precision Livestock Detection and Localization 20 Oct 2020 IEEE 🌾 AI for Crops Machine Learning Tasks Crop Health and Stage Classification Leaf disease identification and classification using optimized deep learning [Paper] Progress in the application of cnn-based image classification and recognition in whole crop growth cycles [Paper] Flowerphenonet: Automated flower detection from multi-view image sequences using deep neural networks for temporal plant phenotyping analysis [Paper] Recognition of sunflower growth period based on deep learning from uav remote sensing images [Paper] Defect detection in fruit and vegetables by using machine vision systems and image processing [Paper] Crop Type Detection Review of weed detection methods based on computer vision [Paper] Early weed detection using image processing and machine learning techniques in an Australian chilli farm [Paper] Advanced drone-based weed detection using feature-enriched deep learning approach [Paper] A relational approach to pesticide use: Farmers, herbicides, nutsedge, and the weedy path to pesticide use reduction objectives [Paper] Automated estimation of crop yield using artificial intelligence and remote sensing technologies [Paper] Recognition of bloom/yield in crop images using deep learning models for smart agriculture: A review [Paper] A smartphone-based application for scale pest detection using multiple-object detection methods [Paper] Pesticide spraying robot for precision agriculture: A categorical literature review and future trends [Paper] Precision Crop Segmentation Deep learning-based weed–crop recognition for smart agricultural equipment: A review [Paper] Towards the characterization of crop and weeds at leaf scale: A large comparison of shape, spatial and textural features [Paper] Comparison of aerial and ground 3D point clouds for canopy size assessment in precision viticulture [Paper] Nutrient stress symptom detection in cucumber seedlings using segmented regression and a mask region-based convolutional neural network model [Paper] Using deep convolutional neural network for image-based diagnosis of nutrient deficiencies in plants grown in aquaponics [Paper] Crop Development Tracking Plant disease detection by imaging sensors–parallels and specific demands for precision agriculture and plant phenotyping [Paper] Soil sensors and plant wearables for smart and precision agriculture [Paper] Crops Anomaly Detection Machine learning for pest and disease detection in crops [Book] Anomaly detection on data streams for smart agriculture [Paper] Challenges in Crop Farming Key Crop Datasets Name Source Link PlantVillage Using deep learning for image-based plant disease detection Paper IP102 Ip102: A large-scale benchmark dataset for insect pest recognition Paper DeepWeeds DeepWeeds: A multiclass weed species image dataset for deep learning Paper CVPPP Leaf Counting Finely-grained annotated datasets for image-based plant phenotyping Paper LandCover.ai LandCover. ai: Dataset for automatic mapping of buildings, woodlands, water and roads from aerial imagery Paper Pl@ntNet Pl@ntNet-300K: a plant image dataset with high label ambiguity and a long-tailed distribution Paper PlantSeg Plantseg: A large-scale in-the-wild dataset for plant disease segmentation Paper ALive AgriCLIP: Adapting CLIP for agriculture and livestock via domain-specialized cross-model alignment Paper AgroInstruct Agrogpt: Efficient agricultural vision-language model with expert tuning Paper CWFI A crop/weed field image dataset for the evaluation of computer vision based precision agriculture tasks Paper Carrot Weed Weed detection dataset with RGB images taken under variable light conditions GitHub Plant Seedlings Plant Seedlings Dataset link Grass-Broadleaf Weed Detection in Soybean Crops Using ConvNets Mendeley Sugar Beets 2016 Sugar Beets Dataset link WeedNet Multi-Spectral Dataset GitHub Leaf Counting Dataset Dataset for Leaf Counting link OPPD Open Plant Phenotyping Database link Deep Fruits Fruits Dataset link MangoNet The MangoNet Semantic Dataset GitHub MinneApple MinneApple: A Benchmark Dataset for Apple Detection and Segmentation link PlantDoc PlantDoc: A Dataset for Visual Plant Disease Detection GitHub Sugarcane Billets Dataset of sugarcane images GitHub DeepSeedling Deep Seedling Project Dataset link GrassClover GrassClover dataset link ⚙️ ML Techniques in Crops Conventional Approaches Support vector machines for crop classification using hyperspectral data [Paper] Semi-supervised classification method for hyperspectral remote sensing images [Paper] CART-based feature selection of hyperspectral images for crop cover classification [Paper] An enhanced approach for crop yield prediction system using linear support vector machine model [Paper] Precision sugarcane monitoring using SVM classifier [Paper] Crop Recommendation System Using K-Nearest Neighbors Algorithm [Paper] Precision agriculture crop recommendation system using knn algorithm [Paper] Detection and classification of groundnut leaf diseases using KNN classifier [Paper] Data-efficient crop pest recognition based on KNN distance entropy [Paper] Cotton crop disease detection using decision tree classifier [Paper] The use of fuzzy decision trees for coffee rust warning in Brazilian crops [Paper] Validation and refinement of cropland data layer using a spatial-temporal decision tree algorithm [Paper] Application of the decision tree method for predicting the yield of spring wheat [Paper] Implementation of K-means algorithm for clustering corn planting feasibility area in south lampung regency [Paper] Detection of healthy and defected diseased leaf of rice crop using K-means clustering technique [Paper] Weed and crop detection by combining crop row detection and k-means clustering in weed infested agricultural fields [Paper] Research on Crop Planting Strategies Based on K-means Cluster Analysis and Linear Programming [Paper] Agricultural Remote Sensing with Case-Based Reasoning [Paper] Development of a Fuzzy Case-Based Reasoning Decision Support System for Water Management in Smart Agriculture [Paper] Applying case-based reasoning and a learning-based adaptation strategy to irrigation scheduling in grape farming [Paper] Application of Case Based Reasoning Method to Diagnose Rice Plant Diseases [Paper] CNNs VGG-ICNN: A Lightweight CNN model for crop disease identification [Paper] Going deeper with convolutions [Paper] Efficientnet: Rethinking model scaling for convolutional neural networks [Paper] A new attention-based CNN approach for crop mapping using time series Sentinel-2 images [Paper] Advanced Deep Learning Model for Multi-Disease Prediction in Potato Crops: A Precision Agriculture Approach [Paper] T-CNN: Trilinear convolutional neural networks model for visual detection of plant diseases [Paper] CCDF: Automatic system for segmentation and recognition of fruit crops diseases based on correlation coefficient and deep CNN features [Paper] Very deep convolutional networks for large-scale image recognition [Paper] Imagenet classification with deep convolutional neural networks [Paper] SkipResNet: Crop and Weed Recognition Based on the Improved ResNet [Paper] Deep residual learning for image recognition [Paper] CustomBottleneck-VGGNet: Advanced tomato leaf disease identification for sustainable agriculture [Paper] Fully convolutional network for rice seedling and weed image segmentation at the seedling stage in paddy fields [Paper] Real-time recognition system of soybean seed full-surface defects based on deep learning [Paper] Insect-YOLO: A new method of crop insect detection [Paper] ViTs ViT-SmartAgri: Vision Transformer and Smartphone-Based Plant Disease Detection for Smart Agriculture [Paper] An image is worth 16x16 words: Transformers for image recognition at scale [Paper] DVTXAI: a novel deep vision transformer with an explainable AI-based framework and its application in agriculture [Paper] HyperSFormer: A transformer-based end-to-end hyperspectral image classification method for crop classification [Paper] Swin transformer: Hierarchical vision transformer using shifted windows [Paper] Mmst-vit: Climate change-aware crop yield prediction via multi-modal spatial-temporal vision transformer [Paper] Vision Transformer for Plant Disease Detection: PlantViT [Paper] A novel twin vision transformer framework for crop disease classification with deformable attention [Paper] Crop disease identification by fusing multiscale convolution and vision transformer [Paper] A Vision Transformer network SeedViT for classification of maize seeds [Paper] PMVT: a lightweight vision transformer for plant disease identification on mobile devices [Paper] Effective plant disease diagnosis using Vision Transformer trained with leafy-generative adversarial network-generated images [Paper] Visual intelligence in precision agriculture: Exploring plant disease detection via efficient vision transformers [Paper] Foundation Models Visual large language model for wheat disease diagnosis in the wild [Paper] Potato disease detection and prevention using multimodal AI and large language model [Paper] AgriCLIP: Adapting CLIP for agriculture and livestock via domain-specialized cross-model alignment [Paper] Agrogpt: Efficient agricultural vision-language model with expert tuning [Paper] Diffusionsat: A generative foundation model for satellite imagery [Paper] Vision foundation model for agricultural applications with efficient layer aggregation network [Paper] Leaf only SAM: A segment anything pipeline for zero-shot automated leaf segmentation [Paper] Bioclip: A vision foundation model for the tree of life [Paper] Cucumber disease recognition with small samples using image-text-label-based multi-modal language model [Paper] PlantCaFo: An efficient few-shot plant disease recognition method based on foundation models [Paper] Learning transferable visual models from natural language supervision [Paper] Multi-label plant species classification with self-supervised vision transformers [Paper] Visual information guided multi-modal model for plant disease anomaly detection [Paper] 🎣 AI for Fisheries Machine Learning Tasks Marine Life Classification Machine learning applications for fisheries—at scales from genomics to ecosystems [Paper] Automatic counting methods in aquaculture: A review [Paper] Deep learning for smart fish farming: applications, opportunities and challenges [Paper] Applications of data mining and machine learning framework in aquaculture and fisheries: A review [Paper] A review of deep learning-based stereo vision techniques for phenotype feature and behavioral analysis of fish in aquaculture [Paper] Advancing underwater vision: a survey of deep learning models for underwater object recognition and tracking [Paper] Automatic labeling of fish species using deep learning across different classification strategies [Paper] An optimized deep network-based fish tracking and classification from underwater images [Paper] Recent advances of deep learning algorithms for aquacultural machine vision systems with emphasis on fish [Paper] Diagnosis of fish diseases [Book] Marine Specie Localization Automatic detection of fish and tracking of movement for ecology [Paper] Underwater-Yolo: Underwater Object Detection Network with Dilated Deformable Convolutions and Dual-Branch Occlusion Attention Mechanism [Paper] Rethinking general underwater object detection: Datasets, challenges, and solutions [Paper] Underwater object detection in the era of artificial intelligence: Current, challenge, and future [Paper] Fish tracking, counting, and behaviour analysis in digital aquaculture: a comprehensive survey [Paper] DeepSeaNet: a bio-detection network enabling species identification in the deep sea imagery [Paper] Deep learning for visual recognition and detection of aquatic animals: A review [Paper] Enhanced deep learning models for automatic fish species identification in underwater imagery [Paper] Advancing underwater vision: a survey of deep learning models for underwater object recognition and tracking [Paper] Fish face identification based on rotated object detection: dataset and exploration [Paper] Fe-det: An effective traffic object detection framework for fish-eye cameras [Paper] A novel automated approach for fish biomass estimation in turbid environments through deep learning, object detection, and regression [Paper] Optimizing Real-Time Object Detection Neural Networks for Dead Fish Detection in Aquaculture Systems [Paper] Fish Habitat Segmentation Measurement of Fish Morphological Features through Image Processing and Deep Learning Techniques [Paper] Enhanced U-Net and PSO-optimized ANFIS for classifying fish diseases in underwater images [Paper] RUSNet: Robust fish segmentation in underwater videos based on adaptive selection of optical flow [Paper] Improving underwater semantic segmentation with underwater image quality attention and muti-scale aggregation attention [Paper] A review on image processing techniques for fisheries application [Paper] Automatic segmentation of fish using deep learning with application to fish size measurement [Paper] Edge-preserving texture-based semantic segmentation for ultrahigh resolution images in agricultural scene [Paper] Marine Animal Tracking DFTNet: Deep fish tracker with attention mechanism in unconstrained marine environments [Paper] Simple online and realtime tracking with a deep association metric [Paper] FishTrack: Multi-object tracking method for fish using spatiotemporal information fusion [Paper] Automatic detection of fish and tracking of movement for ecology [Paper] FishMOT: a simple and effective method for fish tracking based on IoU matching [Paper] Underwater SLAM Meets Deep Learning: Challenges, Multi-Sensor Integration, and Future Directions [Paper] Anomaly Detection for Marine Health Prediction of fish mortality based on a probabilistic anomaly detection approach for recirculating aquaculture system facilities [Paper] Smart anomaly detection for Slocum underwater gliders with a variational autoencoder with long short-term memory networks [Paper] Anomalous behaviors detection for underwater fish using AI techniques [Paper] Identification of suspicious behavior through anomalies in the tracking data of fishing vessels [Paper] Challenges in Aquatic Farming Key Fisheries Datasets Name Source Link Fish4Knowledge Fish4Knowledge: collecting and analyzing massive coral reef fish video data GitHub DeepFish A realistic fish-habitat dataset to evaluate algorithms for underwater visual analysis Paper OZFish OzFish Dataset - Machine learning dataset for Baited Remote Underwater Video Stations [Link](OzFish Dataset - Machine learning dataset for Baited Remote Underwater Video Stations) WildFish Wildfish: A large benchmark for fish recognition in the wild Paper GO-Fish Geolocated fish spawning habitats Paper Vlm4Bio Vlm4bio: A benchmark dataset to evaluate pretrained vision-language models for trait discovery from biological images Paper Croatian Fish Croation Fish Dataset Link Seagrass Habitats Annotated videos of luderick from estuaries in southeast Queensland, Australia GitHub Fish-Pak Fish Secies Dataset from Pakistan for Visual Features Based Classification Mendeley Fishes in the Wild Fishes in the Wild dataset Link QUT Fish Dataset QUT Fish Dataset Link Whale Shark ID Whale Shark dataset Link Large Scale Fish A Large-Scale Dataset for Fish Segmentation and Classification Kaggle NCFM Nature Conservancy Fisheries Monitoring dataset kaggle Mugil Liza Sonar Underwater surveys of mullet schools (Mugil liza) with Adaptive Resolution Imaging Sonar Zenodo MSRB Dataset Marine Snow Removal Benchmarking Dataset GitHub SUIM Semantic Segmentation of Underwater Imagery: Dataset and Benchmark GitHub FishVista Fish-Vista: A Multi-Purpose Dataset for Understanding and Identification of Traits from Images Paper DZPeru - Multiple Fish Datasets Fish Datasets: Segmentations & labelling Paper Fish Image Bank Fish Image Bank (FIB) Dataset Paper ⚙️ ML Techniques in Fisheries Conventional Approaches Advancements in underwater imaging through machine learning: Techniques, challenges, and applications [Paper] Enhancing microalgae classification accuracy in marine ecosystems through convolutional neural networks and support vector machines [Paper] A review on features and methods of potential fishing zone [Paper] Fish classification using support vector machine [Paper] Deep fish: An approach to fish species identification through deep learning techniques [Paper] Design and implementation of an IoT system for predicting aqua fisheries using arduino and KNN [Paper] Consumable Fish Classification Using k-Nearest Neighbor [Paper] Applying a decision tree framework in support of an ecosystem approach to fisheries: IndiSeas indicators in the North Sea [Paper] Data-driven modelling for assessing trophic status in marine ecosystems using machine learning approaches [Paper] Clustering spatial temporal distribution of fishing vessel based LON VMS data using K-means [Paper] Introduction to the k-means clustering algorithm based on the elbow method [Paper] Clustering types of capture fisheries products using the k-means clustering algorithm [Paper] Population morphometry of Conger myriaster (Anguilliformes: Congridae) along the coast of China: Implications for population structure and fishery management [Paper] Case-based reasoning and dynamic choice modeling [Paper] Expert system for diagnosing vaname shrimp disease using forward chaining and case-based reasoning methods [Paper] Simulation and forecasting of fishery weather based on statistical machine learning [Paper] CNNs Research on improved VGG-16 model based on transfer learning for acoustic image recognition of underwater search and rescue targets [Paper] Classification of Marine Fish Based on Image Using Convolutional Neural Network Algorithm and VGG16 [Paper] Comparative Analysis VGG16 Vs MobileNet Performance for Fish Identification [Paper] Fish Type and Disease Classification Using Deep Learning Model Based Customized CNN with Resnet 50 Technique [Paper] FishResNet: Automatic fish classification approach in underwater scenario [Paper] Research on marine fish classification and recognition based on an optimized ResNet50 model [Paper] Improved Binary Classification of Underwater Images Using a Modified Resnet‐18 Model [Paper] Optimzied resnet model of convolutional neural network for under sea water object detection and classification [Paper] Coordinate-Aware Mask R-CNN with Group Normalization: A underwater marine animal instance segmentation framework [Paper] Fish segmentation in sonar images by mask R-CNN on feature maps of conditional random fields [Paper] Advancing underwater trash detection: Harnessing Mask R-CNN, YOLOv8, EfficientDet-D0 and YOLACT [Paper] Accurate detection of underwater objects using EfficientNet Algorithm [Paper] Fine-grained classification network for fish based on the attention mechanism and EfficientNet [Paper] YOLOv7 and EfficientNet Based Program For Detecting and Classifying Fish in Aquaculture Environment [Paper] Edge-AI for buoy detection and mussel farming: a comparative study of YOLO frameworks [Paper] CEH-YOLO: A composite enhanced YOLO-based model for underwater object detection [Paper] Temperate fish detection and classification: a deep learning based approach [Paper] AquaYOLO: Advanced YOLO-based fish detection for optimized aquaculture pond monitoring [Paper] Fisheye freshness detection using common deep learning algorithms and machine learning methods with a developed mobile application [Paper] ViTs Fish-TViT: A novel fish species classification method in multi water areas based on transfer learning and vision transformer [Paper] TFMFT: Transformer-based multiple fish tracking [Paper] FMRFT: Fusion mamba and DETR for query time sequence intersection fish tracking [Paper] DyFish-DETR: underwater fish image recognition based on detection transformer [Paper] CFFI-Vit: enhanced vision transformer for the accurate classification of fish feeding intensity in aquaculture [Paper] Fine-Grained Fish Classification from small to large datasets with Vision Transformers [Paper] An efficient approach to detect and segment underwater images using Swin Transformer [Paper] Benthic Mapping of Coral Reef Areas at Varied Water Depths Using Integrated Active and Passive Remote Sensing Data and Novel Visual Transformer Models [Paper] FishAI: Automated hierarchical marine fish image classification with vision transformer [Paper] A fish counting model based on pyramid vision transformer with multi-scale feature enhancement [Paper] Foundation Models Diving into Underwater: Segment Anything Model Guided Underwater Salient Instance Segmentation and A Large-scale Dataset [Paper] Marinegpt: Unlocking secrets of ocean to the public [Paper] Aquaticclip: A vision-language foundation model for underwater scene analysis [Paper] AgriCLIP: Adapting CLIP for agriculture and livestock via domain-specialized cross-model alignment [Paper] Robust fish recognition using foundation models toward automatic fish resource management [Paper] Marineinst: A foundation model for marine image analysis with instance visual description [Paper] 🐄 AI for Livestock Machine Learning Tasks Livestock Health & Breed Classification Digital livestock farming [Paper] Practices and applications of convolutional neural network-based computer vision systems in animal farming: A review [Paper] Combining expert knowledge and machine-learning to classify herd types in livestock systems [Paper] Health Status Classification for Cows Using Machine Learning and Data Management on AWS Cloud [Paper] Application of AI/ML Approaches for Livestock Improvement and Management [Paper] Smart livestock management: integrating IoT for cattle health diagnosis and disease prediction through machine learning [Paper] Livestock Localization Object detection and crowd analysis using deep learning techniques: Comprehensive review and future directions [Paper] Enhancing livestock detection: An efficient model based on YOLOv8 [Paper] Lameness detection system for dairy cows based on instance segmentation [Paper] Livestock detection in aerial images using a fully convolutional network [Paper] Cattle body detection based on YOLOv5-EMA for precision livestock farming [Paper] LAD-RCNN: a powerful tool for livestock face detection and normalization [Paper] Livestock Health Assessment Segmentation Automated cattle counting using Mask R-CNN in quadcopter vision system [Paper] Cattle segmentation and contour extraction based on Mask R-CNN for precision livestock farming [Paper] Interactive dairy goat image segmentation for precision livestock farming [Paper] Cattle target segmentation method in multi-scenes using improved DeepLabV3+ method [Paper] Efficient segment-anything model for automatic mask region extraction in livestock monitoring [Paper] Automatic detection of mounting behavior in cattle using semantic segmentation and classification [Paper] Livestock Monitoring Livestock Monitoring with Transformer [Paper] SLEAP: A deep learning system for multi-animal pose tracking [Paper] Cows' legs tracking and lameness detection in dairy cattle using video analysis and Siamese neural networks [Paper] Deep learning methods for tracking the locomotion of individual chickens [Paper] Evaluation of an active LF tracking system and data processing methods for livestock precision farming in the poultry sector [Paper] Animal tracking and identification in smart farms. [Thesis] Deep learning-based cow tail detection and tracking for precision livestock farming [Paper] Dairy cow mastitis detection by thermal infrared images based on CLE-UNet [Paper] OP mask R-CNN: An advanced mask R-CNN network for cattle individual recognition on large farms [Paper] Livestock Behavioral Anomaly Detection Efficient herd–outlier detection in livestock monitoring system based on density–based spatial clustering [Paper] TimeTector: A twin-branch approach for unsupervised anomaly detection in livestock sensor noisy data (TT-TBAD) [Paper] Anomaly detection of operating equipment in livestock farms using deep learning techniques [Paper] Methods and challenges in computer vision-based livestock anomaly detection, a systematic review [Paper] Detection of anomalies in cow activity using wavelet transform based features [Paper] Gait Anomaly Detection in Dairy Cattle [Paper] Challenges Key Livestock Datasets Name Source Link GalliformeSpectra GalliformeSpectra: a hen breed dataset Paper CID Cid: Cow images dataset for regression and classification Paper CattleEyeView Cattleeyeview: A multi-task top-down view cattle dataset for smarter precision livestock farming Paper MMCows MmCows: A Multimodal Dataset for Dairy Cattle Monitoring Paper Cow Milk Acquisition Deep learning image recognition of cow behavior and an open data set acquired near an automatic milking robot Paper Cows2021 Towards self-supervision for video identification of individual holstein-friesian cattle: The cows2021 dataset Paper FriesianCattle2015 Automatic individual holstein friesian cattle identification via selective local coat pattern matching in RGB-D imagery Paper FriesianCattle2017 Visual localisation and individual identification of holstein friesian cattle via deep learning Paper AerialCattle2017 Visual localisation and individual identification of holstein friesian cattle via deep learning Paper Aerial Livestock Livestock detection in aerial images using a fully convolutional network Paper HolsteinCattle Recognition of Holstein Cattle with Thermal and RGB images Link CowBehavior Data set of labeled scenes in a barn in front of automatic milking system Zenodo OpenCows2020 OpenCows2020 Dataset Link CowDatabase2 Black Agnus Breed Cows Dataset GitHub NWAFU Cattle Dataset CMBN Datasets from NWAFU-Cattle GitHub Chicken Gender Estimation of the Gender Ratio of Chickens Based on Computer Vision: Dataset and Exploration Paper Poultry Disease Machine Learning Dataset for Poultry Diseases Diagnostics - PCR annotated Zenodo Broiler Dataset YOLO-Based Model for Automatic Detection of Broiler Pathological Phenomena through Visual and Thermal Images in Intensive Poultry Houses Paper Camel Detection Camel Detection Dataset Roboflow Camel Recognition Camel Detection Dataset Paper Horses Horses Identification Through Deep Learning Algorithms Paper Sheep Activity Video Dataset of Sheep Activity Mendeley Buffalo Pak Buffalo-Pak: Buffalo Breed Dataset from Pakistan for Visual Features Based Classification Mendeley LEsheepWeight Enhanced LiteHRNet based sheep weight estimation using RGB-D images Paper ⚙️ ML Techniques in Livestock Conventional Approaches Classification of animals using MobileNet with SVM classifier [Paper] Animal disease diagnoses expert system based on SVM [Paper] Cow identification in free-stall barns based on an improved Mask R-CNN and an SVM [Paper] Mastitis detection in dairy cows: the application of support vector machines [Paper] Cattle classifications system using fuzzy k-nearest neighbor classifier [Paper] Real-time behavioral recognition in dairy cows based on geomagnetism and acceleration information [Paper] A Fuzzy K-Nearest Neighbour-based Model for detecting Lameness in Cattle [Paper] Classification of cow behavior using 3-DOF accelerometer and decision tree algorithm [Paper] A comparison of logistic regression and classification tree to assess brucellosis associated risk factors in dairy cattle [Paper] The potential of decision trees as a tool to simplify broiler chicken welfare assessments [Paper] Efficient herd–outlier detection in livestock monitoring system based on density–based spatial clustering [Paper] Use of unmanned aerial vehicles for livestock monitoring based on streaming K-means clustering [Paper] Study on individual behavior of dairy cows based on activity data and clustering [Paper] Using Density and Fuzzy Clustering for Data Cleaning and Segmental Description of Livestock Data [Paper] Assessing traditional and machine learning methods to smooth and impute device-based body condition score throughout the lactation in dairy cows [Paper] CNNs Cattle Disease Detection using VGG16 CNN Architecture [Paper] Animal Classification Using CNN with VGG-16 Architecture [Paper] A recognition method of cattle and sheep based on convolutional neural network [Paper] Improved ResNet-50 deep learning algorithm for identifying chicken gender [Paper] Facial Recognition of Cattle Based on SK‐ResNet [Paper] Lumpy Skin Disease Detection in Cows Using ResNet-50 [Paper] Multi-scale keypoints detection and motion features extraction in dairy cows using ResNet101-ASPP network [Paper] SIFT-CNN pipeline in livestock management: A drone image stitching algorithm [Paper] Cattle segmentation and contour extraction based on Mask R-CNN for precision livestock farming [Paper] Utilizing EfficientNet for sheep breed identification in low-resolution images [Paper] Automatic body condition scoring for dairy cows based on efficient net and convex hull features of point clouds [Paper] Using an EfficientNet-LSTM for the recognition of single Cow's motion behaviours in a complicated environment [Paper] YOLO-BYTE: An efficient multi-object tracking algorithm for automatic monitoring of dairy cows [Paper] Innovation in livestock surveillance: Applying the YOLO algorithm to UAV imagery and videography [Paper] E-YOLO: Recognition of estrus cow based on improved YOLOv8n model [Paper] Automatic sheep counting by multi-object tracking [Paper] Automatic segmentation of cattle rib-eye area in ultrasound images using the UNet++ deep neural network [Paper] Wizard: Unsupervised goats tracking algorithm [Paper] On-barn cattle facial recognition using deep transfer learning and data augmentation [Paper] ViTs UGTransformer: A sheep extraction model from remote sensing images for animal husbandry management [Paper] DETRs Beat YOLOs on Real-time Object Detection [Paper] RTDETR-Refa: a real-time detection method for multi-breed classification of cattle [Paper] An efficient transformer network for detecting multi-scale chicken in complex free-range farming environments via improved RT-DETR [Paper] MHAFF: Multihead Attention Feature Fusion of CNN and Transformer for Cattle Identification [Paper] Livestock monitoring with transformer [Paper] Combining convolutional and vision transformer structures for sheep face recognition [Paper] Foundation Models Sam for poultry science [Paper] AnimalFormer: Multimodal Vision Framework for Behavior-based Precision Livestock Farming [Paper] Wildclip: Scene and animal attribute retrieval from camera trap data with domain-adapted vision-language models [Paper] Efficient segment-anything model for automatic mask region extraction in livestock monitoring [Paper] From Vision to Vocabulary: A Multimodal Approach to Detect and Track Black Cattle Behaviors [Paper] 🌐 Cross-cutting Challenges & Opportunities Across crops, fisheries and livestock domains, there are common hurdles and emerging openings: 1. Data Availability & Quality Challenge: Sparse, imbalanced or noisy datasets; lack of standardized annotation protocols. Opportunity: Establish open benchmarks and shared annotation guidelines Leverage synthetic data generation (GANs, simulation) to augment scarce classes 2. Model Generalization & Transferability Challenge: Models trained on one crop/region often fail to adapt elsewhere. Opportunity: Domain‑adaptation techniques (e.g. adversarial learning) Few‑shot and meta‑learning to rapidly tune to new species or environments 3. Multi‑modal Integration Challenge: Disparate data streams (RGB imagery, hyperspectral, IoT sensors, weather). Opportunity: Fusion frameworks that co‑learn from images, time‑series and text Pretrained foundation models (CLIP, DINO) as backbones 4. Scalability & Edge Deployment Challenge: Resource‑intensive models hinder real‑time, on‑device inference. Opportunity: Model compression (pruning, quantization) TinyML for low‑power, in‑field devices 5. Explainability & Trust Challenge: “Black‑box” predictions limit farmer adoption and regulatory approval. Opportunity: Interpretable architectures (attention maps, prototype networks) Human‑in‑the‑loop tools for interactive validation 6. Socio‑economic & Ethical Considerations Challenge: Equity gaps in technology access, data privacy, environmental impact. Opportunity: Participatory sensing with local communities Policies and open‑data licenses that balance innovation and privacy 7. Climate Resilience & Sustainability Challenge: Rapidly changing environmental conditions undermine static models. Opportunity: Continual learning systems that adapt to weather anomalies Digital‑twin simulations for “what‑if” scenario planning 🚀 Future Research Directions 💡 Any other Suggestions Lectures & Workshops TBA accordingly 🔗 Other Resources Additional Research & Readings FAO e-Agriculture Wiki: https://www.fao.org/e-agriculture AgriOpen Data Portal: https://agri.opendata.org 📌 Contributing Contributions are welcome! If you have relevant papers, code, or insights, feel free to submit a pull request. Citation If you find our work useful or use it in your research, please consider citing: @article { nawaz2025aiagriculturesurveydeep , title = { AI in Agriculture: A Survey of Deep Learning Techniques for Crops, Fisheries and Livestock } , author = { Umair Nawaz and Muhammad Zaigham Zaheer and Fahad Shahbaz Khan and Hisham Cholakkal and Salman Khan and Rao Muhammad Anwer } , year = { 2025 } , eprint = { 2507.22101 } , archivePrefix = { arXiv } , primaryClass = { cs.CV } , url = { https://arxiv.org/abs/2507.22101 } , } License 📜 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License . Looking forward to your feedback, contributions, and stars! 🌟
2. Related Work, Literature Survey & Algorithmic Foundations
liaopeiyuan / TransferDet Star 88 This is the repository containing team OverFeat's submission to CVPPP 2020's Wheat Detection Challenge (2/2245) deep-learning pytorch convolutional-neural-networks object-detection ai-in-agriculture Updated Feb 10, 2023 Jupyter Notebook
3. Dataset Ingestion, Preprocessing & Stochastic Augmentations
🌱 AgroAI - Generative AI for Smart Agriculture Welcome to AgroAI, an innovative application that leverages generative AI to revolutionize agricultural practices and enhance farming efficiency. 🎯 Features Crop Disease Detection : Utilize computer vision and generative AI to identify plant diseases from images Yield Prediction : Advanced machine learning models to predict crop yields based on historical data and environmental conditions Smart Irrigation Planning : AI-powered irrigation scheduling based on weather forecasts and soil conditions Pest Management : Early warning system for pest infestations using predictive analytics Fertilizer Optimization : Custom fertilizer recommendations using soil analysis and crop requirements Weather Impact Analysis : Generate insights about weather patterns and their potential impact on crops 🚀 Technologies Used Backend : Python 3.9+ FastAPI for REST API TensorFlow/PyTorch for ML models MongoDB for data storage Frontend : React.js TailwindCSS Next.js 13+ AI/ML Components : Hugging Face Transformers OpenAI API integration Computer Vision models (YOLOv8) Time Series Analysis 📋 Prerequisites Python 3.9 or higher Node.js 16 or higher MongoDB GPU (recommended for model training) API keys for weather services and AI providers 🛠️ Installation Clone the repository: git clone https://github.com/yourusername/agroai.git cd agroai Set up the backend: cd backend python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -r requirements.txt Set up the frontend: cd frontend npm install Configure environment variables: cp .env.example .env # Edit .env with your API keys and configuration 🚀 Getting Started Start the backend server: cd backend uvicorn main:app --reload Start the frontend development server: cd frontend npm run dev Access the application at http://localhost:3000 📱 Key Features Implementation Crop Disease Detection Upload plant images through the interface AI model analyzes images for disease patterns Receives detailed analysis and treatment recommendations Yield Prediction Input historical yield data Add environmental parameters Get AI-generated yield forecasts Smart Irrigation Connect IoT sensors for real-time soil moisture data Receive AI-optimized irrigation schedules Monitor water usage efficiency 🤝 Contributing Fork the repository Create your feature branch ( git checkout -b feature/AmazingFeature ) Commit your changes ( git commit -m 'Add some AmazingFeature' ) Push to the branch ( git push origin feature/AmazingFeature ) Open a Pull Request 📄 License This project is licensed under the MIT License - see the LICENSE.md file for details. 🙏 Acknowledgments OpenAI for AI models Agricultural research institutes for domain expertise Open source community for various tools and libraries 📞 Contact Your Name - @yourusername Project Link: https://github.com/yourusername/agroai 🛣️ Roadmap Add support for more crop varieties Implement real-time sensor integration Develop mobile application Add multi-language support Integrate blockchain for supply chain tracking Implement AI-powered crop price prediction
4. Neural Network Backbone, Layer Specifications & Loss Formulations
alexharonyandega-dev / kenya-climate-data-lab Star 19 An open-source climate intelligence platform that ingests satellite data (CHIRPS, Sentinel-2, ERA5-Land) to deliver automated, county-level drought monitoring, while using XGBoost machine learning to predict next-month agricultural risk. prediction climate-data predictive-analysis predictions predictive-modeling climate-model predictive-analytics climate-science prediction-algorithm prediction-model predictor agriculture-research climate-analysis climate-action agriculture-data agriculture-website climate-tech agriculture-technology agriculture-tech agriculture-ai Updated Oct 22, 2026 Python
5. Training Protocol, Convergence Behavior & Experimental Evaluation
👨🏿💻👩🏽💻🌈🪴 Want to join the AI Institute for Food Systems team and help lead AgML development? 🪴🌈👩🏼💻👨🏻💻 We're looking to hire a postdoc with both Python library development and ML experience. Send your resume and GitHub profile link to jmearles@ucdavis.edu ! Overview AgML is a comprehensive library for agricultural machine learning. Currently, AgML provides access to a wealth of public agricultural datasets for common agricultural deep learning tasks. AgML supports both the TensorFlow and PyTorch machine learning frameworks. To browse our latest datasets, view our full set of documentation, and compare model performance on your crops / tasks of interest, please visit project-agml.github.io . Installation To install the latest release of AgML, run the following command: pip install agml Quick Start AgML datasets are hosted on the Hugging Face Hub under the Project-AgML organization. You can start off by using the HuggingFaceDataLoader to download and load a dataset directly into a native Hugging Face DatasetDict : from agml . data import HuggingFaceDataLoader # Load a dataset from the Hub loader = HuggingFaceDataLoader ( "Project-AgML/apple_flower_segmentation" ) # Load a specific config/subset (e.g. an augmented variant) loader = HuggingFaceDataLoader ( "Project-AgML/apple_flower_segmentation" , config = "augmented" ) HuggingFaceDataLoader automatically casts image-like columns ( image , mask , and image-typed label columns) to the Hugging Face Image type for decoded pixel access. You can split the dataset into train/val/test sets, with optional stratification across one or more columns: dataset = loader . split ( val_size = 0.1 , test_size = 0.1 , stratify_cols = "label" ) # Returns a DatasetDict with 'train', 'val', and 'test' splits # Access the underlying DatasetDict at any time dataset = loader . dataset For any preprocessing, inference, or training beyond loading and splitting, use the datasets and transformers libraries directly. Since loader.dataset is a native Hugging Face DatasetDict , it works out of the box with datasets ' map , filter , and with_transform methods for preprocessing, and with transformers ' Trainer , Pipeline , and model classes for training and inference — there's no separate AgML-specific processing API to learn. from transformers import AutoImageProcessor , AutoModelForImageClassification , Trainer processor = AutoImageProcessor . from_pretrained ( "google/vit-base-patch16-224" ) model = AutoModelForImageClassification . from_pretrained ( "google/vit-base-patch16-224" , num_labels = dataset [ "train" ]. features [ "label" ]. num_classes , ) def preprocess ( batch ): batch [ "pixel_values" ] = processor ( batch [ "image" ], return_tensors = "pt" )[ "pixel_values" ] return batch dataset = dataset . with_transform ( preprocess ) trainer = Trainer ( model = model , train_dataset = dataset [ "train" ], eval_dataset = dataset [ "val" ]) trainer . train () Image-Text-to-Text Datasets Some AgML datasets (e.g. Project-AgML/AgroOmni ) are too large to fit the standard load_dataset() archive handling, which fully extracts every archive to disk before reading it. These datasets instead store images as raw relative paths inside zip shards, alongside a single shared path -> shard index, so no extraction step is needed and no per-archive metadata has to be duplicated. Because of that, they aren't load_dataset() -compatible, and are loaded with loadImageTextToTextDataset instead: from agml import loadImageTextToTextDataset # Whole dataset, split-aware: ds = loadImageTextToTextDataset ( "Project-AgML/AgroOmni" , token = HF_TOKEN ) ds [ "train" ][ 0 ] # {'id', 'messages', 'raw_metadata', 'images': [PIL.Image, ...]} # Single split: train_ds = loadImageTextToTextDataset ( "Project-AgML/AgroOmni" , split = "train" , token = HF_TOKEN ) # Multi-config repo (each config under its own folder): pass `config` to select one. ds = loadImageTextToTextDataset ( "Project-AgML/MIRAGE" , config = "MMST_Standard" , token = HF_TOKEN , ) loadImageTextToTextDataset(repo_id, config=None, split=None, cache_dir=None, token=None, cache_max_bytes=...) returns a DatasetDict when split is omitted, or a single Dataset when a split name is given. Splits are auto-discovered from the metadata parquet filenames (e.g. train-0000-of-0001.parquet becomes train ), the same convention load_dataset() itself uses; if no split can be inferred, every row is placed under a single train split. For repos with multiple configs, each living under its own folder, config is required, if it's omitted the error message lists the configs available in that repo. Image bytes are only read the first time a row is actually accessed ( ds["train"][0] , a slice, or a batch), never eagerly over the whole dataset, and repeated access to the same image is cached. The ImageTextToTextShardStore backing that lazy decoding is attached to the returned dataset as ds.store , in case you want to inspect its cache, call ds.store.getBytes(path) directly, or free its open shard file handles and cached bytes ( ds.store.close() ). The cache is bounded by total size, 256 MiB by default; pass cache_max_bytes= to change it, or 0 to disable it. If you're using this with a PyTorch DataLoader , prefer num_workers > 0 . Each worker process opens its own shard handles (and keeps its own byte cache), whether workers are forked or spawned. Public Datasets AgML contains a wide variety of public datasets from various locations across the world: Use the Dataset Search experience for filtering and previews. For programmatic filtering, agml.data.public_data_sources(...) supports task and modality filters. iNatAg and iNatAg-mini AgML provides an API with direct access to iNatAg (and iNatAg-mini), one of the world's largest collections of agricultural images dedicated for the task of image classification. Collectively, this dataset contains over 4 million images along with detailed species classificaations and enables access to a variety of large-scale agricultural machine learning tasks. You can instantiate the iNatAg (or iNatAg-mini, a smaller variant of iNatAg for smaller-scale applications) dataset as follows: # To select a collection of scientific family names. loader = agml . data . AgMLDataLoader . from_parent ( "iNatAg" , filters = { "family_name" : [ "..." , "..." ]}) # To select common names. loader = agml . data . AgMLDataLoader . from_parent ( "iNatAg" , filters = { "common_name" : "..." }) Usage Information Using Public Agricultural Data AgML aims to provide easy access to a range of existing public agricultural datasets The core of AgML's public data pipeline is AgMLDataLoader . You can use the AgMLDataLoader or agml.data.download_public_dataset() to download the dataset locally from which point it will be automatically loaded from the disk on future runs. From this point, the data within the loader can be split into train/val/test sets, batched, have augmentations and transforms applied, and be converted into a training-ready dataset (including batching, tensor conversion, and image formatting). Annotation Formats A core aim of AgML is to provide datasets in a standardized format, enabling the synthesizing of multiple datasets into a single training pipeline. Datasets on the Hugging Face Hub encode annotations as columns on the underlying Dataset / DatasetDict : Image Classification : a label column of type ClassLabel . Object Detection : an objects column, holding COCO-style bounding boxes (un-normlized [x_min, y_min, width, height]) and corresponding category IDs as a ClassLabel per image. Semantic Segmentation : a mask column, a single-channel ( L -mode) image the same size as the corresponding image. Contributions We welcome contributions! If you would like to contribute a new feature, fix an issue that you've noticed, or even just mention a bug or feature that you would like to see implemented, please don't hesitate to use the Issues tab to bring it to our attention. See the contributing guidelines for more information, or the guide to contributing leaderboard results if you have benchmark results to add. Funding This project is partly funded by the National AI Institute for Food Systems .
Model Figures & Evaluation Curves (4 Images)
Deep Learning Execution Pipeline
(Preprocessing)
(Feature Extraction)
(Self-Attention)
(Loss Optimization)