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

Image Histogram #1

Open
maurapintor opened this issue Nov 15, 2022 · 0 comments · Fixed by saugabriele/flask-classification-2022-F#14
Open

Image Histogram #1

maurapintor opened this issue Nov 15, 2022 · 0 comments · Fixed by saugabriele/flask-classification-2022-F#14

Comments

@maurapintor
Copy link
Contributor

maurapintor commented Nov 15, 2022

Summary of the request

Create a new handle that allows picking one image from a list and returns the histogram of an image. The histogram can be rendered either in the frontend (JavaScript library, for extra points), or in the backend and passed as an image (python / matplotlib).
This is a new feature. Old functionalities must be preserved.
Difficulty:
image/image(If using Javascript)

Subtasks

  • Copy the classification API form and modify it where it is required.
  • Implement the new API that takes as input the id of an image and returns the histogram.
  • Visualize the histogram and the image in the GUI.

Plan for the implementation

Modify the code such that the new interface shows the dropdown menu to select the image and the submit button.
It is not required to use queues. The API can be implemented as showing the form if a GET request is issued, and the results if the POST is validated.

image

Useful links:

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