cameraview
cameraview copied to clipboard
How to add manual focus
i need add manual focus when touch screen, how to do it?
This is not yet implemented.
Will it be?
That's the plan. This is one of the reasons why CameraView extends FrameLayout instead of TextureView or SurfaceView. We will be able to add focus indicator. No ETA, though.
Do you have an idea, when this feature will be available ?
This feature will be very useful.
I forked the repo and added support for tap to focus; however, it is not fully implemented yet for a pull request (i.e. I haven't added support for Camera1 and it doesn't take into account different display/sensor orientations). If anyone wants to help out, feel free to fork it: https://github.com/arriolac/cameraview/tree/tap_to_focus
Relates to #150
I hope supportting this funtion in quickly
https://github.com/google/cameraview/pull/181/commits/47b8a4e493cdb5f1085333577d55b749443047e9 https://github.com/lin18/cameraview
check this https://github.com/google/cameraview/pull/218