Hacker News new | ask | show | jobs
by billconan 3266 days ago
I made a sample code to place a 3D sphere with ARkit. it differs from the official demo by detecting not only horizontal surfaces, but also feature points (for example, vertical walls). But so far I wasn't able to achieve the same kind of accuracy as shown by the ruler video and few other demos.

The ARKit api is very simple, I don't know what else I can do to improve the accuracy.

1 comments

You should look at the ARKit Example app, I think they do some averaging of the feature points you get to better stabilize anchoring in real world.

Also note that since ARKit identifies points from image features, stickiness will be improved with areas that have a lot of texture, like a wood table.

I’ve been experienmenting with ARKit to see where it works and where it fails, it does terrible if you use it in a car. Try it! That’s shows that Apple relies so much on the motion data on the phone.

Message if me if anyone has any questions or interests in ARkit, love to chat :).

Thank you! is the placeobjects code on this page https://developer.apple.com/arkit/ , the ARkit example app you mentioned? I have been learning this code. I will double check.
Ya the example app. They have some really nice tips on User experience, but the code is dense. I need a few days to sit down and read through it.