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

Visible Mask - Data generation #384

Open
utsavrai opened this issue Sep 1, 2024 · 3 comments
Open

Visible Mask - Data generation #384

utsavrai opened this issue Sep 1, 2024 · 3 comments

Comments

@utsavrai
Copy link

utsavrai commented Sep 1, 2024

Often it is required to obtain only the visible portion of the mask for the object and thus removing the mask of distractors. How to achieve this?

@TontonTremblay
Copy link
Collaborator

I am not sure I am following, could share an example?

@utsavrai
Copy link
Author

utsavrai commented Sep 1, 2024

Sure, for example in the below case I want ground truth mask of "white watering can" behind the yellow duck, then the output mask should be only the visible portion of the "white watering can". Similarly when segmentation mask is generated then it would be great to have an option which only outputs the visible portion of the object and excluding all the distractor mask.
000065
000065_000001

@TontonTremblay
Copy link
Collaborator

https://github.com/owl-project/NVISII/blob/master/examples/09.meta_data_exporting.py#L125-L139 check this out, this is what you want to save, if you look at the code, when we compute the visibility, we move objects and render them around to get percentage.

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

2 participants