Hello,
No, there is no possible to get images from SurfaceTexture
.
Referring to this official documentation SurfaceTexture, we could find the following description about SurfaceTexture
:
Captures frames from an image stream as an OpenGL ES texture.
Therefore, you could not get the image from SurfaceTexture
, due to it stores OpenGL ES texture.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.