By covelline2013
on Mon, 03/12/2018 - 03:43
We use Vuforia to add the marker recognition feature to existing app that filtering camera images in realtime.
I used Vuforia::State.getFrame() to get front camera image and everything fine. But when using back camera, every camera frames delayed about 0.5sec.
This reproduced on iPhone6s but not on iPhone5s and iPhone7.
So I think the reason is ARKit (Glound Plane) and CPU load.
- iPhone 6s: weak CPU & ARKit enabled
- iPhone 5s (no ploblem): weak CPU but ARKit disabled
- iPhone 7 (no ploblem): strong CPU & ARKit enabled
How do I disable ARKit on all devices? Or can I resolve this issue in other way?
---
- Vuforia SDK 7.0.50
- iOS 11.2.6
- iPhone 6s 64GB
- Video Mode: MODE_OPTIMIZE_SPEED
- Frame Format: RGB888
- Focus Mode: FOCUS_MODE_CONTINUOUSAUTO
- Camera Direction: CAMERA_DIRECTION_BACK
- Tracker: ObjectTracker
A half a second seems way too
A half a second seems way too long and sounds like something else is wrong to me. I've done a little of this on the Unity side on a 6s+ without any issue using earlier Vuforia 7 builds. Consider recreating problem with the samples and see if it's something else.
Where can I download older
Where can I download older versions of Vuforia SDK?
I will compare them.
Unfortuantly you can't get
Unfortuantly you can't get older versions. I think there is a bug where switching cameras will corrupt the result of getFrame. Are you starting with the front camera and then switching? If so start the app with the back camera and see if it helps.