-
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
Preview last frame when external camera is removed. #707
Comments
收到了,谢谢!
|
I would suggest you to use ImageReader & ImageWriter as a proxy between UVCCamera and Surface. Set ImageReader as UVCCamera set preview display. And then enqueue to ImageWriter in onImageAvailable listener. Then you could always keep the last Image (into Bitmap) |
Thanks for this advice. Will check it out |
收到了,谢谢!
|
Hi, could you please clarify in which file or folder I should add the ImageReader and image queuing logic in the UVCCamera project? |
Just wanted to know, how can we implement this?
When the external camera is detached / removed, i want to preview the last frame and when it is attached back, it should start working as normal. Need some guidance
The text was updated successfully, but these errors were encountered: