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
Currently, VisionCamera only supports focusing manually by specifying coordinates of a subject where the camera should focus to (using the <Camera>’s focus method)
In addition, both Android and iOS allow focusing manually by specifying a fixed depth (i.e., a distance from the camera).
What feature or enhancement are you suggesting?
Currently, VisionCamera only supports focusing manually by specifying coordinates of a subject where the camera should focus to (using the
<Camera>
’s focus method)In addition, both Android and iOS allow focusing manually by specifying a fixed depth (i.e., a distance from the camera).
setFocusModeLocked(lensPosition)
LENS_FOCUS_DISTANCE
Hence, it would be great to be able to focus on a given depth/distance using VisionCamera as well.
API design note
It seems like RNCamera used a prop called
focusDepth
for this (instead of, e.g., exposing a method likefocusToDepth(depth)
).What Platforms whould this feature/enhancement affect?
iOS, Android
Alternatives/Workarounds
As far as I know, there are no workarounds available to focus by a depth/distance (instead of focusing on a subject).
Additional information
The text was updated successfully, but these errors were encountered: