Frage

I want to set the focus of the camera to be a fixed value (in my case 6"). Objects that are 6in from the camera will be in focus and anything else will be out of focus.

But I don't see any way to hook into the focus value of the iphone camera. You can turn the autofocus on and off or even focus to a point in your image, but that will not work in my case.

Any thoughts?

Can you force the focus of the camera to be a given distance?

War es hilfreich?

Lösung

No. You can't currently set the focus distance manually in iOS. There are no public APIs to do so.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top