on-internet
← Community

How to set camera focus value manually in Android

Stack Overflow ·

I intend to create an application that can take photos in the following way: When the user touches the screen, it starts to take photos It takes several photos within a few microseconds, each with different focus In pseudocode: Camera camera = getAndroidCamera(); for(i<10) { camera.setFocus(i*0.1); camera.takePhoto(path, pictureName+i); } So basically I intend to take photos of the same object with different values of focus. According to this, it is not possible, only assisted autofocus is viable. Can you confirm it? If possible, how should I do it? Should I set autofocus to different areas?

Comments

Sign in or sign up to comment and upvote.

No comments yet.