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

how to generate the mask image in watermarks.py #7

Closed
prashant0079 opened this issue Feb 27, 2018 · 6 comments
Closed

how to generate the mask image in watermarks.py #7

prashant0079 opened this issue Feb 27, 2018 · 6 comments

Comments

@prashant0079
Copy link

I want to understand that how you were able to generate that image cat-selection.png for predicting output.
Any help will be appreciated.

@marcbelmont
Copy link
Owner

cat-selection.png was generated using a simple image editor program. The idea is to draw over the area that needs editing. You don't have to be pixel perfect. The algorithm is trained to find where the watermarks begins.

@Edwardmark
Copy link

@marcbelmont any code for that?

@marcbelmont
Copy link
Owner

@Edwardmark there is no code for that. The selection is created using an image editor. You take a paintbrush and draw the mask.

@Edwardmark
Copy link

@marcbelmont so we have to label the mask manully to remove the watermark?

@marcbelmont
Copy link
Owner

@Edwardmark you have to manually highlight the area where the watermark is located. It doesn't have to be pixel perfect.

@kmrabhay
Copy link

@marcbelmont Do we have to use same empty selection(with same background) to create the other kinds of selection using image editor?

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

4 participants