-
Notifications
You must be signed in to change notification settings - Fork 51
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
Cannot capture images #32
Comments
Hey, I am currently not at my setup but comparing screenshots from the tutorial text and yours it seems that you (assuming that this is the |
Ok, I have the same problem, I think it's a sync issue because in the log I see that This is my This is my scene layout: And these are my I'm using UE 5.2.0, maybe something changed in the rendering pipeline? EDIT: and another major problem is that captured masks are totally transparent (but I'm probably not understanding which components are considered background and which are considered foreground or "salient" objects). |
Ok, I get transparent masks also using CaptureToDisk.uproject so I'm definitely missing something important (such as the way to define foreground and background). |
They're not transparent! As you wrote here OpenCV correctly shows the segmentation in them! Why both image viewers and PIL don't? Because every pixel has alpha value set to zero you can tell me... I've asked GPT-4 for a solution, it seems to work. Instead of:
just paste this code:
I can submit a pull request if you prefer. |
Hello @TimmHess ! Thank you so much for your outstanding work! I am currently working on generating synthesized RGB data with corresponding depth for my deep learning training. I am very new to the unreal engine and this area but I can follow your steps in readme and try to manage to capture materials. However, with my blueprint setting, I cannot see any log info and images cannot be saved in my directory. What am I doing wrong? Or how can I achieve this by capturing RGB and depth in pure c++?(I am ok with c++)
Attached are my blueprint settings.
Thanks in advance! Hope you will spare your time to save my silly question...
The text was updated successfully, but these errors were encountered: