This project implements a RESTful API using Flask, a python web framework, to analize an input image using a Tensor Flow graph, and return its score based on the 120 dog breeds that were used to train the last layer of the Inception Model V3 provided by Google.
The two main dependencies of the project are the Tensor Flow library, and OpenCV a library to handle images.
To install all dependencies of this projects run the following command:
pip install -r requirements.txt
Python 3.6.6 is required to run this project.
Execute the app.py file from the console to start the Flask API.
| Endpoint Path | Method | Body Type | Returns |
|---|---|---|---|
| api/dogbreeds | GET | None | List of available dog breeds |
| api/uploadtest | POST | Multipart Form (image) | Analysis result |
Note: A live version of this project is available at https://breed-classifier.herokuapp.com/