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

Constant refocussing instead of continuous focus? #9

Open
ghost opened this issue Nov 2, 2017 · 2 comments
Open

Constant refocussing instead of continuous focus? #9

ghost opened this issue Nov 2, 2017 · 2 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Nov 2, 2017

On my Moto G the camera seems to refocus every 3-5 seconds even though nothing in the camera view changed.

Perhaps related, sometimes the focus is beeping very frequently (varying between 3 per second to once every 2-3 seconds)

Does the app trigger the refocussing?

@kloener
Copy link
Owner

kloener commented Nov 7, 2017

Hi, this seems to be the default continuous autofocus behaviour on some devices :/ The app does not trigger the refocussing, it just tells Android to use the focus mode "FOCUS_MODE_CONTINUOUS_PICTURE" (autofocus) instead of "FOCUS_MODE_AUTO" (manual autofocus).

On my device (LG G4) it works like expected: If autofocus is enabled, the camera autofocusses only if the view's changed. If manual focus is active, the camera only focusses on tap.
But on a Moto G (3rd Gen.) I can reproduce your autofocus issues.

I will see what I can do about it ...

@kloener kloener added the bug label Nov 7, 2017
@kloener kloener self-assigned this Nov 7, 2017
@ghost
Copy link
Author

ghost commented Nov 7, 2017 via email

morckx added a commit to morckx/visor-android that referenced this issue Sep 26, 2020
When autoFocus is called in continuous modes, the camera focuses only once
and continuous focus does not work until auto focus is cancelled.

This could help with kloener#9 and definietly fixes focusing only once in
continuous mode.
morckx added a commit to morckx/visor-android that referenced this issue Sep 26, 2020
When autoFocus is called in continuous modes, the camera focuses only once
and continuous focus does not work until auto focus is cancelled.

This could help with kloener#9 and definietly fixes focusing only once in
continuous mode.
morckx added a commit to morckx/visor-android that referenced this issue Oct 10, 2020
When autoFocus is called in continuous modes, the camera focuses only once
and continuous focus does not work until auto focus is cancelled.

This could help with kloener#9 and definietly fixes focusing only once in
continuous mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant