Google Glass Camera Autofocus?
Asked Answered
A

2

8

I read this article, which claims Google glass can autofocus. However, this code returns false:

getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA_AUTOFOCUS)

I could not find a definite answer on Google Glass Tech specs. Does anyone know for sure if the camera can auto focus? Thanks in advance.

Apure answered 25/12, 2013 at 21:44 Comment(0)
S
1

The current Glass camera has a fixed focus, not autofocus. So it would make sense that this returns false.

Subclavius answered 25/12, 2013 at 22:40 Comment(1)
Like you mentioned, I found GDK issue 303: requesting additional camera focus modes (with auto focus) has been accepted but not yet implemented. Thanks.Apure
G
0

If you run

List<String> FocusModes = params.getSupportedFocusModes();

Then you will get a list of only one focus. It actually only supports

Camera.Parameters.FOCUS_MODE_INFINITY
Gouache answered 27/5, 2014 at 15:26 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.