Log in or register to post comments

Autofocus on Android

August 7, 2019 - 10:07am #1

I am using the latest version of Vuforia SDK 8.3. I see this question has been asked here before. I am setting CONTINUOUS AUTOFOCUS on the CameraDevice, it returns true, but the CONTINUOUS AUTOFOCUS is not happening. This is the pure Android version of the SDK so I am not using any ARCore or ARKit or Unity. Just Android Studio & Android SDK. 

1. Is there a solution to making AUTOFOCUS work? 

2. If not, is there a workaround?

3. If not, can I get a link to download the older SDK that had CONTINUOUS AUTOFOCUS working? because this feature is a must. 

Please get back to me ASAP. 

Autofocus on Android

August 9, 2019 - 10:51am #6

Hello,

Unfortunately, we have no way to distribute older versions of the Engine SDK.

OK, so you're not using Unity - mea culpa. If you could provide details about the device you're having issue with we can try and replicate to determine if this is actually an SDK issue. And, perhaps, we can provide a workaround.

Thanks,

Vuforia Engine Support

Autofocus on Android

August 8, 2019 - 9:51am #5

"This is the pure Android version of the SDK so I am not using any ARCore or ARKit or Unity."

 

I am not using Unity at all. I am just using the Android SDK. And all I want is if I can find previous versions of SDK so I can downgrade from this version that has issues with AUTOFOCUS. The version I am using now is old, and doesn't have x64 support. That's why I felt that i needed to upgrade. But obviously this new version doesn't work for us. 

Autofocus on Android

August 8, 2019 - 7:07am #4

Hello,

Previous versions of the SDK are packaged with less recent versions of Unity. Thus, as you download older versions of Unity, you will also find older versions of Engine SDK. I wish I could provide you with a version mapping, but we don't have insight into this Unity process. We ship it to them and then ourselves wait to see when it is released.

I'd like to experiment to see the issue for myself. Can you provide:

  • Unity version
  • Device model

I don't recall seeing other threads on a similar topic, so if you could point those out too it would be very helpful.

Thanks,

Vuforia Engine Support

Autofocus on Android

August 7, 2019 - 5:34pm #3

The problem is that this was working perfectly in previous versions of the API, but this one doesn't work. There are discussions on here about this recent version breaking autofocus. and lo behold, this new implementation doesn't seem to allow autofocus. Anyways, I'd like to downgrade to a previous version of the API. Is there a link where I can download previous versions and do some tests? thanks. 

Autofocus on Android

August 7, 2019 - 3:05pm #2

Hello,

The functioning of focus modes on a device is solely based upon the OEM's implementation. Vuforia does not have its own implementation of focus algorithms - our APIs call native OS APIs.

Is ARCore installed on the device? Older versions of ARCore *do not* support continuous auto focus, and even the ones that do sometimes perform very poorly. By default, Vuforia Engine will try and use ARCore via Vuforia Fusion: https://library.vuforia.com/content/vuforia-library/en/articles/Training/vuforia-fusion-article.html

If ARCore is installed on the device, and it is a recent version, one easy test is to uninstall (or disable) ARCore and see if that improves the continuous auto focus performance while running the same app.

Thanks,

Vuforia Engine Support

Log in or register to post comments