[go: up one dir, main page]

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

Add watermarking option to gr.Image() #9954

Open
1 task done
meg-huggingface opened this issue Nov 13, 2024 · 0 comments
Open
1 task done

Add watermarking option to gr.Image() #9954

meg-huggingface opened this issue Nov 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@meg-huggingface
Copy link
Contributor
  • I have searched to see if a similar issue already exists.

Is your feature request related to a problem? Please describe.
Not a problem with gradio, although perhaps related to a problem with society and sharing online images. Watermarking helps to:

  • Mark content so that people know how synthetic it is / whether it's synthetic at all: Content can be marked as fully synthetic (AI-generated), such as DeepFakes; non-synthetic (such as images from a camera); and anywhere in between.
  • Mark ownership (of all kinds of content).
  • Mark content with a resource to get more information (such as with a watermark QR code).

Describe the solution you'd like
watermarked_image = gr.Image(image, watermark=watermark_file)

Additional context
Currently, gr.Video() can take a watermark argument, with a path to a watermark image file, in order to watermark the video.
I propose making a parallel functionality in gr.Image().

@abidlabs abidlabs added the enhancement New feature or request label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants