harshkhairnar63/Livestock-Breed-Classifier — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple web app in Python that can identify buffalo and cattle breeds from a photo. I want it to feel easy for a farmer or vet to use, with a clean mobile friendly page where someone can upload or drag and drop an image, click an analyze button, and see the predicted breed, a confidence score, and the top 3 likely matches.

Please support the 16 breeds listed in the README, with buffalo and cattle breeds separated clearly on the page. Make the app run locally in the browser on Windows, include the basic API routes for prediction, health check, breed list, and model info, and add the setup and run scripts so a beginner can just start it without much hassle.

If a real trained model is not available yet, make it work with a demo or mock model first so the full flow is usable. Also include the training script and image preprocessing pieces so it can be improved later. You can check current docs online if needed.

Want more depth? Deep Reverse