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

[FEATURE REQUEST] Manual focus #398

Open
UlyssesZh opened this issue Jan 15, 2025 · 8 comments
Open

[FEATURE REQUEST] Manual focus #398

UlyssesZh opened this issue Jan 15, 2025 · 8 comments
Labels
enhancement New feature or request

Comments

@UlyssesZh
Copy link

Is your feature request related to a problem? Please describe.
80% of the time, my camera's auto focus just cannot find the best focus.

Describe the solution you'd like
Using the manual focus feature of Camera2 API. Adding a slider in the picture taking UI to adjust focus manually.

Describe alternatives you've considered

Additional context
https://developer.android.com/reference/android/hardware/camera2/CaptureRequest#LENS_FOCUS_DISTANCE

@UlyssesZh UlyssesZh added the enhancement New feature or request label Jan 15, 2025
@farfromrefug
Copy link
Collaborator

@UlyssesZh you should already be able to manually focus at any point using a tap on the camera view. Doesn't it work for you?

@UlyssesZh
Copy link
Author

It's auto focus, and not smart enough for me.

@farfromrefug
Copy link
Collaborator

@UlyssesZh ok i understand. Do you an example of an app doing that (to get UX design idea)? I also need to see if the same thing can be done on iOS

@UlyssesZh
Copy link
Author

Open Camera has manual focus feature. The UX is a vertical slider at the left side of the camera preview, and there is a number on screen showing the current focus length when the slider is operated.

The same thing may be impossible on iOS, but I am not familiar with iOS app development, so I cannot help with that.

It may be impossible on Android for some phone models, too, because the support of Camera2 API varies among different phone models.

@farfromrefug
Copy link
Collaborator

@UlyssesZh i dont see it with Open Camera on my phone. On the left side i do have a slider but it is for the zoom.
Did you enable something in the settings? Might be device dependent

@UlyssesZh
Copy link
Author

Select the three dots on the top, and select "MF".
IMG_20250203_094014.jpg

@farfromrefug
Copy link
Collaborator

@UlyssesZh great I see it now. Will implement this. However might not come before September :s will be out of computer for 6months so I ll only do small bug fixes from my tablet

@UlyssesZh
Copy link
Author

That's fine. I'm grateful for your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants