You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AIR should have a way to control Camera autofocus mode. Basically, at least enable or disable it.
Right now usually for desktop platforms Camera uses autofocus but for mobile platforms seems to not use it.
It cause inoperable image for different tasks for AR/VR applications and some image processing algorithms.
Moreover, sometimes focus mode need to be changed at run-time.
Feature Description
AIR should have a way to control
Camera
autofocus mode. Basically, at least enable or disable it.Right now usually for desktop platforms
Camera
uses autofocus but for mobile platforms seems to not use it.It cause inoperable image for different tasks for AR/VR applications and some image processing algorithms.
Moreover, sometimes focus mode need to be changed at run-time.
We would like to control
Camera
autofocus mode via AIR API.Some references:
https://developer.android.com/reference/android/hardware/Camera.Parameters#setFocusMode(java.lang.String)
https://developer.android.com/reference/android/hardware/camera2/CaptureRequest#CONTROL_AF_MODE
https://developer.apple.com/documentation/avfoundation/avcapturefocusmode/avcapturefocusmodeautofocus?language=objc
https://stackoverflow.com/a/1718009/12375228
Known Workarounds
none
*Write own native extension to work with camera.
The text was updated successfully, but these errors were encountered: