简体   繁体   中英

Tracking a marker for an Augmented android application. Which library?

I am new in Augmented Reality and I am trying to build an app that tracks a marker. The problems I have is that I can't find good enough documentation online. I am using OpenCV 3.4 and Android. When I say markers I mean:

在此处输入图片说明

Now in my case I could also track a ball (a red ball for example) and use that for tracking (is that proper AR though?). My main problem is how to achieve good tracking of a marker.. What should I use ? ArCore/OpenCV/Vuforia?

Thanks

Vuforia is probably not the solution here, and ARCore is limited to new Android OS version - you have to decide if you're ok with that.

For detecting a red ball - there are tons of articles out there, you should simply try it out. Most methods rely on OpenCV 's findContours or HoughCircles . The tracking quality depends on your use case and performance requirements - the more complex the environment in which the detection happens (visually-wise), the more filters and algorithms you need in order to isolate your ball, and the more filters and algorithms you apply, the better the result is, but it might affect the frame rate. It is a matter of trial and error per your specific requirements.

For using the marker above, you can check out Aruco library with Opencv: Detection of ArUco Markers (I havn't tried it, though).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM