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
✨ Support depth data streaming #2628
Comments
Hey 👋 I have an updated depth implementation in a Vision Camera fork so I can add this here. One important API consideration though is that the depth map returned from the LiDAR or TrueDepth camera on iOS is just a CVPixelBuffer - no CMSampleBuffer container. I've tried to create one but it never creates successfully due to there not being a compatible format description for the CMSampleBuffer for the depth pixel format. This means it can't be wrapped in a Frame HostObject itself and instead I just have a |
Yup, good idea - a minimal Frame instance that just holds pixels. I can reshape the API for that |
any updates on this? |
Hey @thomas-coldwell could you link your updated fork? 🙇 |
@thomas-coldwell A link to the updated fork would be great :) |
What feature or enhancement are you suggesting?
It would be great to have depth data streaming support in VisionCamera Frame Processor plugins.
Something like this:
...assuming the
CameraDevice
supports depth data streaming (supportsDepthData
)What Platforms whould this feature/enhancement affect?
iOS, Android
Alternatives/Workarounds
Currently I need to create a custom fork of VisionCamera to add depth data streaming and synchronization (
AVCaptureSynchronizedDepthData
) to it.Also, @thomas-coldwell created a public PR for this here: #745
..but it is quite old already and would need an update.
On Android, there is no such thing as depth data streaming I think.
Additional information
The text was updated successfully, but these errors were encountered: