A machine learning image classifier that looks at an image and guesses if it's a sheep or a goat.
Demo Website »
Table of Contents
Upload an image of a real life sheep or goat and the trained neural network will try to determine if it is a sheep or a goat. The model was trained with images from Google Images as well as some databases from Kaggle.
Here is a guide if you want to clone my website and modify it for yourself, all the way to deployment.
- Clone the repo
git clone https://github.com/AjayLiu/sheep-or-goat.git
- Create and train your model as outlined in https://youtu.be/XfoYk_Z5AkI
- Upload your model (.pkl) in path/models
To run the website, use something like the VSCode Code Runner Extension to run app.py. Then you can view the site using the URL provided from the command line output.
- Publish the site on Render using continuous git integration.
- Add environment variable
PYTHON_VERSION=3.9.15
Distributed under the MIT License. See LICENSE
for more information.
Ajay Liu - contact@ajayliu.com
Project Link: https://github.com/AjayLiu/sheep-or-goat