Reputation: 5532
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
Upvotes: 0
Views: 2052
Reputation: 2711
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).
Upvotes: 1