Log in or register to post comments

Autofocus on Android Devices

October 28, 2013 - 2:41am #1

Hello everybody,

I want to ask somethigns concerning the Autofocus features in Vuforia SDK. 

Firstly i want to learn how the feature is decided to be functional ? Because on some devices that can do autofocus with their native camera apps, you cannot turn on the autofocus feature on ImageTargets 

Secondly, i am using Nexus S for testing at the moment, and although on your release notes section its mentioned like that below, in practice it says the device doesnt support autofocus when i try to turn it on.

  • Added new CONTINUOUS_AUTOFOCUS mode to QCAR and exposed it in samples via GUI
    • Note:Continuous auto focus is only available on select Android devices, e.g. Galaxy Nexus S, Pantech Vega Race

 

Autofocus on Android Devices

October 29, 2013 - 2:38am #4

I would not think of a hardware problem;

rather, it could be that the device is perfectly capable of doing "autofocus", but does not support the "continous" mode; this means you can trigger an autofocus event, but this only works as "trigger" mode;

but you can trigger it several times (as many times as you want); so, I can imagine that for example a native app might be able to simulate a "continuous" autofocus by doing some periodic triggering (e.g. with a timer), or by analyzing the image and choosing when to "trigger" an autofocus event based on certain conditions.

 

Autofocus on Android Devices

October 29, 2013 - 2:33am #3

Hi,

So about my second question. It says as ,i wrote before , that Galaxy Nexus S has continuous autofocus, but my Nexus S cannot do that with ImageTargets. 

So does it mean that my Nexus S has some hardware problems? 

Autofocus on Android Devices

October 28, 2013 - 3:53am #2

Hi, Vuforia queries the underlying Android system to obtain information about the supported focus mode;

if the "continuous autofocus" does not work,  you could try the "TRIGGER_AUTOFOCUS" mode, which will trigger an autofocus event once;

this is shown in the Image Targets sample (when touching the screen)..  

 

 

Log in or register to post comments