Skip to content

Commit 1bffee7

Browse files
authored
Update README.md
1 parent fc8816e commit 1bffee7

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,31 @@ The below Python modules are required:
2121
3. bird_classifications.py - contains the main functions (display_bird() and classify_bird()) for producing outputs
2222
4. folders
2323
- static: consists of favicon image file, img folder and css folder (this is a standard structure for a flask web application)
24-
- models: consists of the ONNX models
24+
- templates: consists of HTML templates to be rendered by Flask (this is a standard structure for a flask web application)
25+
- models: consists of the ONNX models and labels.txt (both downloaded from Microsoft CV services)
2526
- plots: placeholder for the output images
2627

27-
## Dataset
28-
- The ONNX model was trained by Microsoft Azure Custom Vision services.
28+
## Model
29+
- The ONNX is a deep learning model trained by Microsoft Azure Custom Vision services for image classification.
2930
- The train/test dataset are a private image collection of birds seen in Singapore.
3031

3132
## The python program explained:
3233
After running the main python program with 'python azurecv_birdclassifier.py':
3334
- the web application will be running on 'http://127.0.0.1:50001/' (localhost)
3435
- open a web browser and place the url at the address bar
3536
- a web GUI will be displayed
37+
![mainpage-imgfile](/images/mainpage.png)
3638
- click on 'Choose File' button to select an image file from your local disk
3739
- click on 'submit' button when ready
3840
- the image and a bar chart with the Top-5 classification will be displayed
41+
![outputpage-imgfile](/images/outputpage.png)
3942

4043
## Results Summary
4144
- The result of the ONNX model is not satisfying mainly due to a relatively small and unbalanced dataset.
4245
- The aim of this simple project is to demostrate the ONNX model deployment using Flask.
4346

4447
## Reference
4548
1. https://onnx.ai/
46-
2. Book: Flask Web Development, Developing Web Applications with Python (https://flaskbook.com/)
47-
3. https://wtforms.readthedocs.io/en/stable/
49+
2. https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/home
50+
3. Book: Flask Web Development, Developing Web Applications with Python (https://flaskbook.com/)
51+
4. https://wtforms.readthedocs.io/en/stable/

0 commit comments

Comments
 (0)