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

how to cancel camera auto-focus #177

Open
Gotta-C opened this issue Dec 22, 2023 · 0 comments
Open

how to cancel camera auto-focus #177

Gotta-C opened this issue Dec 22, 2023 · 0 comments

Comments

@Gotta-C
Copy link

Gotta-C commented Dec 22, 2023

I tried to set parameter in CameraPreferencesActivity.java,but not work. I think the camera is continus focusing when it moves,that causes image blur and the tracking points is not confidence, so the pose translation is not perfect.
Camera.Parameters params = cam.getParameters()
params.setFocusMode(Camera.Parameters.FOCUS_MODE_FIXED);
cam.setParameters(params);

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

No branches or pull requests

1 participant