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

Segmentation with transparent background #47

Open
molnarszilard opened this issue Mar 1, 2023 · 5 comments
Open

Segmentation with transparent background #47

molnarszilard opened this issue Mar 1, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@molnarszilard
Copy link

Hi,
I am trying to do a semantic segmentation for a dataset containing plants.
My models contain a lot of leaves, which are basically built using support squares, with an image of a leaf on them.
In these images the background is transparent.
In the RGB render, the leaves appear normal, the transparency works - I can only see the leaves, not their supports.
However, in the depth and semantic windows, the leaves appear square (I tried .obj and .fbx formats).
Is there a setting that I can use, so that, the semantic mask is created using only the visible parts, without their transparent support square? Or do I have to fix the plant models first? (In Nvidia Omniverse the segmentation is correct for these models.)

Thanks.
0

@DIYer22
Copy link
Owner

DIYer22 commented Mar 2, 2023

Sorry, bpycv's instance mask currently does not support transparency.
If you still continue to use bpycv, please consider fixing the plant models.

@DIYer22 DIYer22 added the enhancement New feature or request label Mar 2, 2023
@beyse
Copy link

beyse commented Sep 30, 2023

@DIYer22 what needs to be done to support transparency?

@molnarszilard did you found a solution or work around?

@zsy950116
Copy link

zsy950116 commented Sep 30, 2023 via email

@beyse
Copy link

beyse commented Sep 30, 2023

好的,酷

@molnarszilard
Copy link
Author

No, unfortunately, I did not find a solution (although I did not have much time to deal with this problem). Maybe a clue could be a different Blender version (not with bpycv, but just in the bare Blender these squares behave differently depending on the different Blender versions - but at this moment I do not remember exactly the version number)

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

4 participants