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 Transformation #2

Open
asotgiu opened this issue Dec 3, 2024 · 0 comments
Open

Image Transformation #2

asotgiu opened this issue Dec 3, 2024 · 0 comments

Comments

@asotgiu
Copy link
Contributor

asotgiu commented Dec 3, 2024

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:
image

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.

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
Development

No branches or pull requests

1 participant