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 more controls to Gradio interface #580

Closed
zebradots opened this issue Jan 30, 2024 · 0 comments
Closed

Add more controls to Gradio interface #580

zebradots opened this issue Jan 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@zebradots
Copy link
Contributor

The Gradio interface to rembg is great, but it lacks controls for several frequently used variables. For example, the alpha matting erosion size often must be adjusted for best results, but it can't be changed from the graphical user interface.

For anyone who uses the Gradio interface, it would be very helpful to be able to adjust these variables on the fly. It would be great to have sliders or checkboxes for the following variables:

  • Alpha matting (checkbox)
  • Foreground threshold (slider)
  • Background threshold (slider)
  • Erosion size (slider)
  • Only mask (checkbox)
  • Post process mask (checkbox)

While it may be possible to pass these values as text or JSON arguments, doing so isn't user friendly.

@zebradots zebradots added the enhancement New feature or request label Jan 30, 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