Hello.
I've been playing with all the examples but I'm stuck with the continuous Autofocus. I can't get it on my HTC Sensation. Of course, the LogCat says : Requested Focus mode Continuous Autofocus. Not supported on this device. But I was sure it was supported. First of all, just by using the native camera app in both picture and video mode (I can see that it continuously tries to focus), then by digging Google (I didn't see a single page saying it was not supported). To clear my mind, I just built a sample app to list the Camera.getParameters().getSupportedFocusModes() and the available modes are (indeed) auto, infinity, macro, normal, so no continuous-auto. So my question is both hardware and software : how does the native Camera app continuously focuses without triggering an autofocus (it is not blurry then sharp, it is indeed continuously sharp) ? Is there a way to do this by code ? By some kind of blurry detection algorithm, with the help of OpenCV (I never used it...), by using sensors ? by a small piece of code that could be exposed in Vuforia or that we could implement by getting the amount of movement (rotation, scale, translate) applied to the GLSurfaceView ( modelViewProjection) ? It would not have to be executed every frame, something like every 2s should probably be enough. Or is it really necessary ? From my point of view, I think that it could increase the user experience...
Thanks for your answers.
Continuous autofocus support on HTC Sensation
I think that most mobile devices with autofocus capability use a passive technique based on contast detection. Basically the lense is adjusted for the point of maximum contrast, which correlates with the correct image focus.
Continuous autofocus support on HTC Sensation
Thanks, I got my answer -> it's software : more an image is blurred, less it has contrast.
Continuous autofocus support on HTC Sensation
Even my HTC one x cant focus properly.
How can I make it focus properly
Continuous autofocus support on HTC Sensation
hey junkie ...
i am facing the same problem here..
can anyone suggest any working trick on htc one X(ics).
Continuous autofocus support on HTC Sensation
Yogendra, JunkieHead, might sound stupid, but if your're running the examples on Android, you have to pop-up the options menu, and trigger an autofocus manually. Also check the LogCat, it will log some info on focus mode change (and tells you if the mode you choose is supported).
Continuous autofocus support on HTC Sensation
To confirm, you're seeing continuous autofocus when using the camera outside of your Vuforia app, but are unable to enable continuous autofocus within your app?
Continuous autofocus support on HTC Sensation
To follow up on the original question, we've done some internal testing on the HTC One and discovered that the device can lose the ability to auto focus. This occurs below the Vuforia layer - i.e. it's an issue with device's own camera control .
Continuous autofocus support on HTC Sensation
Hi David.
I don't how you did your tests, neither if what I'm gonna say could help you but I noticed intersting logs (using any of the SDK samples) when I move my camera from near to far things, so when I need the camera to refocus, here is a typical line
Continuous autofocus support on HTC Sensation
Can you post your full Model Number ( Settings > About Phone ). I'll see if I can find out anything more about this device.
Continuous autofocus support on HTC Sensation
Did hTC sensation support Continuous autofocus??
Anyone have conclusion or advices?