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 handler that allows picking an image and setting parameters for an image transformation (https://pillow.readthedocs.io/en/stable/reference/ImageEnhance.html). The user should be allowed to specify the color, brightness, contrast, and sharpness to apply to the original image. The transformed image should appear in the output interface. This is a new feature. Old functionalities must be preserved.
Difficulty:
Subtasks
Copy the classification API interface.
Create a form to select the transformation.
Implement the API that applies the transformation to the selected image.
Implement the visualization of results.
Plan for the implementation
Modify the code such that the new interface shows the dropdown menu to select the image, the submit button, and a NEW field that allows specifying values for the transformation to apply. The values for the transformation should have default values, but should be editable by the user. Use forms to create the interface for selecting the transformation. Use correct field types for the inputs.
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 handler that allows picking an image and setting parameters for an image transformation (https://pillow.readthedocs.io/en/stable/reference/ImageEnhance.html). The user should be allowed to specify the color, brightness, contrast, and sharpness to apply to the original image. The transformed image should appear in the output interface.
This is a new feature. Old functionalities must be preserved.
Difficulty:
Subtasks
Plan for the implementation
Modify the code such that the new interface shows the dropdown menu to select the image, the submit button, and a NEW field that allows specifying values for the transformation to apply. The values for the transformation should have default values, but should be editable by the user. Use forms to create the interface for selecting the transformation. Use correct field types for the inputs.
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: