-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Accessing Camera Frame Bytes Directly Instead of Rendering it #62
Comments
@nathanmartz Any help would be greatly appreciated |
|
Sorry for the slow reply here. The best way to access the camera data is to use Session.setCameraTextureName() to access the camera data. Then write a bit of GL to blit that to a texture you can read from, render with, etc. |
With Developer Preview 2, we've added computervision sample code that shows how to get CPU access to the pixel data. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I want to access the camera capture frame bytes directly from ARCore instead of rendering it.
Some Context:
I'm trying to take the camera bytes, convert it into texture, apply some shaders, convert back to bitmap, apply CPU algorithms to that bitmap like flood fill (which can't be done on GPU), convert back to texture, apply additional shaders, render image.
What would be the best way to do this?
Is there a way to access camera frame bytes directly (instead of having it render on the screen)?
The text was updated successfully, but these errors were encountered: