I have been using onVofuriaUpdate state object to obtain frames stage.getFrame() then extracting my image from there. The only thing is that the images in those frames don't have augmentation view. It's just the camera view.
Another option is to use grabPixels sample I saw on this forum that will use:
GLES20.glReadPixels(x, 0, w, y + h,
GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, ib);
The biggest issue with this method is that it is extremely slow and blocks rendering until it's done working.
Can you please suggest another method to obtain augmented image frames? Because I want to collect lots of frames to make a video the user can share.
Thanks in advance.