cameraview icon indicating copy to clipboard operation
cameraview copied to clipboard

How to add manual focus

Open aDimple opened this issue 9 years ago • 9 comments

i need add manual focus when touch screen, how to do it?

aDimple avatar Oct 18 '16 06:10 aDimple

This is not yet implemented.

yaraki avatar Oct 21 '16 08:10 yaraki

Will it be?

vanniktech avatar Oct 21 '16 08:10 vanniktech

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.

yaraki avatar Oct 21 '16 08:10 yaraki

Do you have an idea, when this feature will be available ?

samy-baili avatar Dec 02 '16 13:12 samy-baili

This feature will be very useful.

jaksab avatar Jan 02 '17 14:01 jaksab

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

arriolac avatar Jun 15 '17 18:06 arriolac

I hope supportting this funtion in quickly

xiaanming avatar Jun 29 '17 13:06 xiaanming

https://github.com/google/cameraview/pull/181/commits/47b8a4e493cdb5f1085333577d55b749443047e9 https://github.com/lin18/cameraview

lin18 avatar Jul 14 '17 09:07 lin18

check this https://github.com/google/cameraview/pull/218

sibelius avatar Dec 10 '17 20:12 sibelius