Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow image detection updates #185

Open
oOMoeOo opened this issue Jun 17, 2018 · 2 comments
Open

Slow image detection updates #185

oOMoeOo opened this issue Jun 17, 2018 · 2 comments

Comments

@oOMoeOo
Copy link

oOMoeOo commented Jun 17, 2018

Hi,

i'm currently playing around with the image detection feature. For the moment i display a simple box on top of my detected image marker and the detection process works pretty well.
I'm using onAnchorDetected/onAnchorUpdated to reposition the shape using a simple position state.

My problem is, that there is a delay between moving the physical marker and updating the virtual object. When moving the marker a few centimeters, it takes more than one second to update the box position.

I've tested it in debug mode with different lighting environments using an iPhone 7 device. Am i doing something wrong or is it still an issue with the native ARKit or with RNARKit? I tested a similar approach with Unity/Vuforia and the marker tracking was awesome.

Kind regards

@macrozone
Copy link
Collaborator

that is a limitation of arkit, but i don't know how vuforia does overcome this.

however, upcoming ios 12 seems to allow for continues updates, see this page: https://developer.apple.com/documentation/arkit/arworldtrackingconfiguration/2941063-detectionimages?language=objc

@oOMoeOo
Copy link
Author

oOMoeOo commented Jul 18, 2018

@macrozone Yes, that's right. You can also see the effects in the following video (~minute 40)
https://developer.apple.com/videos/play/wwdc2018/610/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants