Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.22 KB

File metadata and controls

30 lines (20 loc) · 1.22 KB

Program Information

This deep learning program was created with Microsoft Azure and their Custom Vision API. The program utilises a Convolutional Neural Network (CNN), a kind of Artificial Neural Network used in image recognition and processing. The goal of this program is to identify if a given image is a dog or a cat.

How to build:

docker build -t .

How to run locally:

docker run -p 127.0.0.1:80:80 -d

Then use your favorite tool to connect to the end points.

POST http://127.0.0.1/image with multipart/form-data using the imageData key e.g curl -X POST http://127.0.0.1/image -F imageData=@some_file_name.jpg

POST http://127.0.0.1/image with application/octet-stream e.g. curl -X POST http://127.0.0.1/image -H "Content-Type: application/octet-stream" --data-binary @some_file_name.jpg

POST http://127.0.0.1/url with a json body of { "url": "" } e.g. curl -X POST http://127.0.0.1/url -d '{ "url": "" }'

For information on how to use these files to create and deploy through AzureML check out the readme.txt in the azureml directory.