display name
display name

Reputation: 4185

Google Glass Camera Autofocus?

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.

Upvotes: 8

Views: 1209

Answers (2)

w9jds
w9jds

Reputation: 897

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

Upvotes: 0

Prisoner
Prisoner

Reputation: 50701

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

Upvotes: 1

Related Questions