Computer Vision & AI demos / 08
Animal Detection & Monitoring for Smart Farming
Detect and count livestock in farm images and videos, track animals across frames and flag animals entering a crop-protection zone you draw.
What you can do in the demo
- Upload a farm photograph (JPEG, PNG, WebP) or a video (MP4, WebM, MOV) and detect animals with a real YOLOX-tiny model (COCO) running in your browser
- Counts by class the model genuinely supports: sheep, cow and horse (livestock) plus bird, cat, dog, elephant, bear, zebra and giraffe; goats, pigs, chickens and deer are not detectable
- Bounding boxes and labels with the model's own confidence; adjustable threshold
- Video analysis frame by frame with ByteTrack tracking: temporary track IDs and distinct-animal counts per class
- Draw a crop-protection zone on the picture; animals whose ground point is inside it are flagged, and timestamped enter / exit events are listed for videos
- Download the annotated image or frame, a JSON summary and a CSV of zone events
Technology focus
- Livestock detection
- Tracking
- Zone monitoring
What it really does, and does not do
Prototype. One small COCO-trained detector: it names only ten animal classes, confuses similar animals (a goat may be called a sheep), misses small, distant or hidden animals, and its confidences are not probabilities. Tracker IDs are temporary and can switch. Zone events come from the sampled frames only. It does not detect crop damage, disease, animal health or behaviour, and is not a security or livestock-management system. No licensed farm photographs or footage could be bundled, so the only sample is a cat photograph; use your own images and videos. Processing happens in your browser and nothing is uploaded.
Demonstrations use fictional, synthetic or user-supplied footage. Each demo states exactly what it runs (real model inference, reference annotations or simulation). They do not represent a completed client deployment.
Have a similar project? Let's talk.
Tell us about the workflow, the data and the systems involved. We'll respond with an honest view of scope and approach.
Start a Project