This project implements a deep learning solution to classify chicken diseases from fecal images. It includes both a model training pipeline and a web interface for real-time predictions.
- Python 3.8+
- TensorFlow/Keras
- Flask
- HTML/JavaScript/TailwindCSS
- DVC (Data Version Control)
Chicken-Disease-Classification/
├── artifacts/ # Model artifacts and data
├── config/
│ └── config.yaml # Configuration files
├── logs/ # Application logs
├── src/cnnClassifier/
│ ├── components/ # Model components
│ ├── config/
│ ├── pipeline/
│ └── utils/
├── templates/
│ └── index.html # Web interface
├── app.py # Flask application
├── main.py # Training pipeline
├── params.yaml
├── requirements.txt
└── setup.py
- Clone the repository
git clone https://github.com/yourusername/Chicken-Disease-Classification.git
cd Chicken-Disease-Classification- Create and activate virtual environment
python -m venv venv
source venv/bin/activate # For Linux/Mac
# or
venv\Scripts\activate # For Windows- Install dependencies
pip install -r requirements.txtpython main.pyOr use the web interface's "Train Model" button.
python app.pyAccess the application at http://localhost:80
- Open the web interface
- Upload a chicken fecal image
- Click "Predict" to get the disease classification
Update these files for customization:
config/config.yaml: Model and training parametersparams.yaml: Hyperparameterssrc/cnnClassifier/config/configuration.py: Pipeline configuration
dvc init
dvc run -n train -d main.py -o artifacts/model.h5 python main.py- Fork the repository
- Create a feature branch
- Commit changes
- Push to the branch
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Dataset source: [Add source here]
- Based on [research paper/methodology reference]
- Update config.yaml
- Update secrets.yaml [Optional]
- Update params.yaml
- Update the entity
- Update the configuration manager in src config
- Update the components
- Update the pipeline
- Update the main.py
- Update the dvc.yaml