android / android/camera-samples
question! Can I get the FocusDistances(the distance between object and camera?)
Open
- Dominant language
- Kotlin
- Stars
- 5.5k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
In camera, there is getFocusDistance().
But it was not used after API21.
Now, I searched the camera2/camerax, but I can't find the parameters about the focus-distance.
Anybody have the same question or have any idea?
Thanks!
I want to know the distance between object and camera without bluetooth or infrared ray.o(╥﹏╥)o
Contributor guide
Research direction
Review the issue's references to getFocusDistance(), camera2, and CameraX; first determine whether this repository contains a relevant camera sample or API entry point. Done requires a concrete, repository-scoped change or documentation target, which the current question does not specify.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100