"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Multiple tracking with Cloud Recognition

Hello guys, i have modified the source code of CloudReco.java. I've got to do the tracking of multiple objects, recognizing them by a cloud database.The app recnognize me only 1 object at a time. Is There some limitation?

This is the code of doStartTrackers 

	public boolean doStartTrackers() 
	{      
        // Start the tracker:
        TrackerManager trackerManager = TrackerManager.getInstance();
        ObjectTracker objectTracker = (ObjectTracker) trackerManager.getTracker(ObjectTracker.getClassType());
        Vuforia.setHint(HINT_MAX_SIMULTANEOUS_OBJECT_TARGETS, 20);
        objectTracker.start();
        
        // Start cloud based recognition if we are in scanning mode:
        TargetFinder targetFinder = objectTracker.getTargetFinder();
        targetFinder.startRecognition();
        
        return true;
	}

and this is the code of onQCARUpdate

if (statusCode == TargetFinder.UPDATE_RESULTS_AVAILABLE)
        {
            // Iterate through the new results:
            for (int i = 0; i < finder.getResultCount(); ++i)
            {
                TargetSearchResult result = finder.getResult(i);

                // Check if this target is suitable for tracking:
                if (result.getTrackingRating() > 0)
                {
                    // Enable this target for tracking:
                    finder.enableTracking(result);
                }   
            }
        }