You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: /(If using Javascript)
Subtasks
Copy the classification API form and modify it where it is required.
Implement the new API that takes the ID of an image as input 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 for selecting 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.
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:
/(If using Javascript)
Subtasks
Plan for the implementation
Modify the code such that the new interface shows the dropdown menu for selecting 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.
Useful links:
The text was updated successfully, but these errors were encountered: