Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding /detect_img_visual and /upload_form endpoints #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

agademer
Copy link

Adding two new endpoints.

POST /detect_img_visual that return a PNG image with the result of the inference (bounding box, label and confidence) drawn on the original image

GET /upload_form with a simple HTML form that allow the user to upload image and call the /detect_img or /detect_img_visual endpoints (for testing or demo purpose)

I tried to kept is simple and using the same PIL library you had.

(Super job by the way :) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant