This repository explores using computer vision and machine learning to improve dog care. It includes tools for identifying dog breeds from images, predicting diseases, and recommending the best breed for potential owners. By analyzing images and data, these tools help veterinarians provide better care and help people choose the right dog for their lifestyle, ensuring healthier and happier dogs and owners.
This project leverages computer vision and machine learning to improve dog care through three main functionalities: dog breed classification, disease prediction, and breed recommendation. The application is built using Flask and integrates TensorFlow and Scikit-learn models to deliver these functionalities.
git clone https://github.com/ssbaraar/CanineCare-AI-Vet-for-Dog-Breeds.git
cd CanineCare-AI-Vet-for-Dog-Breeds
python3 -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
pip install -r requirements.txt
model/
directory:
model/20220804-16551659632113-all-images-Adam.h5
model/dogModel1.pkl
data/
directory:
data/dog_data_09032022.csv
python app.py
http://127.0.0.1:5000/
./
GET
, POST
/predict_breed_route
POST
file
: Image file of the dog. {
"predicted_breed": "Golden Retriever"
}
/predict_disease
POST
{
"symptoms": [0.1, 0.3, 0.5, ...]
}
{
"disease": "Tick fever"
}
│
├── app.py # Main Flask application
├── model/
│ ├── 20220804-16551659632113-all-images-Adam.h5 # TensorFlow model
│ └── dogModel1.pkl # Scikit-learn model
├── data/
│ └── dog_data_09032022.csv # Data file for preprocessing
├── templates/
│ └── Home.html # HTML template for the home page
├── static/
│ └── style.css # CSS file for styling
├── requirements.txt # List of Python dependencies
└── README.md # Project documentation