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

Without trimap ? #19

Open
shubhank008 opened this issue Jan 12, 2019 · 2 comments
Open

Without trimap ? #19

shubhank008 opened this issue Jan 12, 2019 · 2 comments

Comments

@shubhank008
Copy link

I understand this was probably a project for your personal use, but I found this approach for background removal much different from other better known ones like Segmentation, etc. and wanted to give it a try. Is eval/running it only possible if we have a Trimap and can I not just use any of my normal images to remove its background (I dont have trimaps for them).

@eti-p-doray
Copy link
Owner

Eval only works with a trimap associated with the input image.
That is because the training of the model was also done with a trimap as an input. That trimap was generated from the ground truth, with erosion. Perhaps the same model with some modification could be trained without the Trimap.
However, we designed this model to be used as a postprocessing step to refine background extraction and produce output image with transparency, with the first step of generating the trimap done either manually or with a segmentation technique.
Sorry for the delay, and thanks for your interest!

@yosun
Copy link

yosun commented Jul 3, 2019

for your pre-trained model, would there be any detriment (or have you tried) using an automated tri-map generation algo? https://ieeexplore.ieee.org/document/6694178

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

3 participants