-
Notifications
You must be signed in to change notification settings - Fork 58
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 labels/masks from depth camera image #342
Comments
similarly, it would be nicer to have the same behaviour for other camera sensors |
This is currently not possible. Another option would be to extend the segmentation camera to output depth images with labels but that would also require some work. The easiest workaround is to set up 2 separate sensors for now. |
sorry, it was a typo, I meant 2D masks. In other words, can we integrate depth camera and segmentation camera? |
I believe that if you place two cameras, a segmentation and a depth camera, in the same location with the same parameters (focal length and resolution), the results may be what you are looking for. This is essentially how the RGB-Depth camera works as well. |
Thnaks for the suggestion. I have tried the same and got the expected output, but are those cameras time synchronized?. Also I have some problems (see below), you can refer to the attached sdf example and the screenshot. Scenario: spawned few objects and three set of camera (each set has monochrome, depth and segmentation camera) Problems:
Could please let me know if miss something or is it a known issue or got solved in the newest version already? Also I have tried to create a custom plugin and found that ConnectNewImageFrame (for camera) callback is never triggered similar to the callback from ConnectNewDepthFrame (for depth camera). Is there a way that we get the callback triggered, so I have an access to the raw buffer? Attachments: |
I see that there is segmentaion camera, that ouputs labels/masks for the instance and semantic segmentation. This is based on the 2D images, Is there any way to get 2D masks from the depth camera output and not setting up a seperate camera?
Desired behavior
Alternatives considered
If there is already a solution or a workaround, I would be happy to know about it :)
The text was updated successfully, but these errors were encountered: