Log in or register to post comments

Crosspost - Camera not focusing only on Pixel 2 or 3

April 25, 2019 - 6:16am #1

Vuforia SDK Version: 8.0.10 -

Description with steps to reproduce: What's up, I'm using Vuforia 8.0.10 on Unity 2017.4.24f1, and iOS looks/works great, but on Android, and ONLY on the Pixel 2 and 3, the camera doesn't focus. I haven't been able to googlestackoverflow any similar issues or fixes for just those phones not working. The galaxy, htc, and LG phones we've tested on all work perfectly. Any insight would be amazing, thanks! -

Development OS (Mac OS X, Windows, Linux): OSX -

Mobile OS and Version: Android -

Mobile Device Manufacturer and Model name: Google Pixel 2 and 3 -

Do the Vuforia Sample Applications show the same behavior?: Yes, according to the client, I do not have access to those devices

Crosspost - Camera not focusing only on Pixel 2 or 3

April 29, 2019 - 2:34pm #5

Hello,

I just did a quick test using the 8.0.10 Vuforia Engine Core Samples with 8.0.10 Engine SDK using the Pixel 3. I used Unity Editor 2018.3.1f1 instead of 2017.4 as I was having unknown install issues with the latter.

After uninstalling/disabling ARCore from the device, I ran the Image Targets feature. Double-tapping on the screen, I bring up the menu that allows me to enable/disable the autofocus mode with the following outputs to adb:

04-29 14:29:57.459 19162 19178 I Unity   : Requested Focus mode FOCUS_MODE_CONTINUOUSAUTO successfully.

04-29 14:30:00.648 19162 19178 I Unity   : Requested Focus mode FOCUS_MODE_TRIGGERAUTO successfully.

This tells me that the Vuforia API calls are working, in addition to visually observing continuous autofocus being triggered.

Thanks,

Vuforia Engine Support

Crosspost - Camera not focusing only on Pixel 2 or 3

April 29, 2019 - 9:32am #4

Hello,

When using the Vuforia Engine Core samples, if ARCore app is not installed on device then Vuforia Fusion will not utilize the ARCore camera but the legacy camera.

Thus, I suggest you test your device's focus capabilities when using Vuforia Engine (without ARCore support) by:

  1. Build and install the Engine Core samples on device, unaltered
  2. Uninstall/disable ARCore app
  3. Run Vuforia Engine Core samples, confirming that ARCore is *not* enabled via adb logs
    • $ adb logcat AR:D Unity:D *:S
  4. Check autofocus capabilities via the sample app. My recollection is that it can be set in the Image Target sample menu

I'll also run a similar test with the Pixel 3 here to see if I observe anything unusual.

Thanks,

Vuforia Engine Support

Crosspost - Camera not focusing only on Pixel 2 or 3

April 27, 2019 - 8:54am #3

I built the app in Unity3d without the ARCore libraries in the project. Is there a way to force the app to not use the ARCore focus capabilities? 

Crosspost - Camera not focusing only on Pixel 2 or 3

April 26, 2019 - 11:36am #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, so our APIs call native OS APIs.

If your device support ARCore, then Vuforia Fusion will call ARCore APIs in support of auto focus. If ARCore does not support auto focus on that device, then Vuforia Engine will not support it either.

I suggest that you uninstalled ARCore on the device (assuming it is installed) without changing your app. If focus modes work as expected, then it is an ARCore issue.

Thanks,

Vuforia Engine Support

Log in or register to post comments