How to view the result of custom vsion model on a local machine flask server?

Amit V 21 Reputation points
2021-06-29T19:46:04.03+00:00

I have built a custom vision model that is used for classifying different types of leaves
Github Repo: https://github.com/timaddg/Customvision_local
in this repository, labels.txt has 39 different labels so I have given a path of test_image.JPG in the Dockerfile after building the image and running it using
"docker run -d -p 80:80 --name=ts4 testing4 python app.py "

when I open my localhost at port 80, I am supposed to get the predicted label of the test image, but the output I'm getting after http://localhost:80/ is

"CustomVision.ai model host harness"

So I wanted to know if my app.py has any bugs or any app.route has to be changed?

Thank you.

Azure AI Custom Vision
Azure AI Custom Vision
An Azure artificial intelligence service and end-to-end platform for applying computer vision to specific domains.
249 questions
0 comments No comments
{count} votes

Accepted answer
  1. GiftA-MSFT 11,171 Reputation points
    2021-06-30T16:21:16.08+00:00

    Hi, thanks for reaching out. I found this tutorial, can you review it to see if it helps your scenario?

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.