Skip to content

whatmelon12/flask-tensorflow-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Dog Breed - Flask Tensor Flow API!

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.

Dependencies

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.

Run the 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/

About

Flask API to execute image classification test using tensor flow trained graph with Inception Model V3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages