Could ARMedia SDK track serveral Object Targets in one app?

+1 vote
asked Nov 20, 2015 by Murphy.Ku (130 points)
1. All in one app.

2.Serveral object targets( 5 or 10 )

3.There would be only 1 target in camera at the same time.


Such as there are 2 targets in scene. A cube and a sphere.  When the cube in real world run into camera, the app could recognize it's cube target; When the sphere in real world run into camera, the app could recognize it's sphere target ,not cube.


I don't know whether I make it clear.

1 Answer

0 votes
answered Dec 7, 2015 by Alex (6,680 points)
Unfortunately with current version of the SDK you can have only 1 "active" object target, this meaning that you can recognize only one object per time but you can track different objects in you app as long as you re-init the tracker with a tracking configuration related to a different object.


Nonetheless you can also try to create a couple of independent threads where 2 different trackers are supposed to run at the same time and then pass the same camera frame to both and use some application logic to get the result you are looking for. This is not easy to be done because you have to carefully manage a multithreaded setup and also it could result in a slow app on most devices but you can try it of course.


Hope this helps.

Welcome to Developer Portal Q&A, where you can ask questions and receive answers from other members of the community.