AI / Machine Learning · Dissertation
Early Disease Detection in Broiler Chickens
An AI-powered system for early detection of disease in broiler chickens using audio and visual analysis.
- Python
- Machine Learning
- Computer Vision
- Audio Classification
- Raspberry Pi
- Firebase
- Android
- Type
- AI / Machine Learning · Dissertation
- My role
- Architecture, development & delivery
- Core stack
- Python, Machine Learning, Computer Vision
Context
The Problem
Disease can spread quickly through a broiler flock. By the time symptoms are obvious to the eye, losses can already be significant, especially for small-scale farmers without regular veterinary support.
Early signs often show up first in changes to the birds' sounds and droppings, but monitoring these continuously by hand is not practical.
What I built
The Solution
I designed and built a system that monitors the flock continuously with a microphone and camera, analyses the data with machine learning models running on a Raspberry Pi, and sends results through Firebase to an Android app so the farmer can act early.
Capabilities
Key Features
Audio-based detection
Analyses chicken vocalisations to flag sounds associated with respiratory illness.
Visual droppings analysis
Classifies images of droppings for visual signs of disease.
Machine learning models
Trained models for both the audio and the image pipeline.
Edge deployment
Inference runs on a Raspberry Pi close to the flock.
Firebase communication
Results are synced to the cloud in real time.
Android application
Farmers receive alerts and see flock status on their phone.
Deep dive
Machine Learning Approach
- Audio pipeline: recordings are pre-processed into features and classified as healthy or as indicating possible illness
- Vision pipeline: droppings images are classified for visual signs associated with disease
- [Add model architecture, dataset size and preprocessing details]
Deep dive
Hardware
- Raspberry Pi (edge inference)
- Camera for droppings images
- Microphone for flock audio
User experience
Interface & Screenshots
Audio-based detection Android app alerts Visual droppings analysis
Engineering
System Architecture
01Sensing
- CameraDroppings images
- MicrophoneFlock audio
02Machine Learning
- Audio modelSound classification
- Vision modelImage classification
03Edge Device
- Raspberry PiOn-farm inference
04Cloud
- FirebaseReal-time results sync
05Farmer
- Android appAlerts & flock status
Tools
Technology Stack
- Machine Learning
- PythonAudio classificationImage classification
- Edge hardware
- Raspberry PiCameraMicrophone
- Cloud & Mobile
- FirebaseAndroid (Java)
Engineering decisions
Challenges & How I Solved Them
01Running ML on constrained hardware
The challenge
A Raspberry Pi has limited memory and compute compared to the machine used for training.
How I solved it
Kept inference on the edge lightweight and sent only results to the cloud instead of raw audio and images.
02Noisy real-world audio
The challenge
Poultry houses are noisy environments, which makes audio classification harder than in clean recordings.
How I solved it
Pre-processed recordings before classification so the model focuses on the relevant parts of the signal.
03Getting results to the farmer
The challenge
A detection is only useful if the farmer sees it quickly, wherever they are.
How I solved it
Used Firebase as a real-time bridge between the edge device and an Android app.
Ownership
My Contribution
Designed and built the full system as my final-year dissertation: data pipeline, machine learning models, Raspberry Pi deployment, Firebase integration and the Android application.
- Researched the problem and defined the system's scope
- Prepared data and trained the audio and image models
- Deployed inference on a Raspberry Pi
- Integrated Firebase for real-time communication
- Built the Android application for farmers
- Documented and presented the work as my dissertation
Outcomes
Results
- [Add model evaluation results, e.g. accuracy on a held-out test set]
- [Add dissertation grade or recognition if applicable]
Want to know more about this project?
I'm happy to walk you through how it works and the decisions behind it.