Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨Support focusing manually by specifying focus depth #1809

Open
2 tasks done
bakoe opened this issue Sep 17, 2023 · 1 comment
Open
2 tasks done

✨Support focusing manually by specifying focus depth #1809

bakoe opened this issue Sep 17, 2023 · 1 comment
Labels
🤖 android Issue affects the Android platform ✨ feature Proposes a new feature or enhancement 🍏 ios Issue affects the iOS platform

Comments

@bakoe
Copy link

bakoe commented Sep 17, 2023

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).

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 like focusToDepth(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

@mrousavy
Copy link
Owner

Hey! Good feature request 👍

@mrousavy mrousavy added 🍏 ios Issue affects the iOS platform 🤖 android Issue affects the Android platform ✨ feature Proposes a new feature or enhancement labels Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 android Issue affects the Android platform ✨ feature Proposes a new feature or enhancement 🍏 ios Issue affects the iOS platform
Projects
None yet
Development

No branches or pull requests

2 participants