List
ImageTracking working on Android, but not iOS
Posted Date: 2024-06-08 16:25     Edited Date: 2024-09-03 4:44     Writer: vivek

Please provide your development details as below;

1. SDK Version: 6.2.1
2. Development Environment: (eg. Unity-Android, Unity-iOS, Native Android, Native iOS) Unity-iOS
3. Tracker/Scanner: Image Tracker
4. License Type(Free / Pro-One Time Fee / Pro-Subscription / Enterprise): Free
5. Target Device(Optional): iPad 7

I have a set of 83 cards I need to track. Tracking works fine on Android. However, on iOS, I see the camera feed with the MAXST logo, but it doesn't seem to be able to detect anything. 

Here's the update code in my ImageTracker.cs

void Update()

{

TrackingState state = TrackerManager.GetInstance().UpdateTrackingState();

if (cameraBackgroundBehaviour != null) cameraBackgroundBehaviour.UpdateCameraBackgroundImage(state);

TrackingResult trackingResult = state.GetTrackingResult();

Debug.Log("Unity Update. trackingResult.GetCount() : " + trackingResult.GetCount());

for (int i = 0; i < trackingResult.GetCount(); i++)

{

Trackable trackable = trackingResult.GetTrackable(i);

imageTrackablesMap[trackable.GetName()].OnTrackSuccess(trackable.GetName());

Debug.Log("Unity Update. trackable.GetName() : " + trackable.GetName());

}

}

 

This just gives me the log:

Unity Update. trackingResult.GetCount() : 0

CardStory.CardImageTracker:Update()

 

Unity Update. trackingResult.GetCount() : 0

CardStory.CardImageTracker:Update()

 

Unity Update. trackingResult.GetCount() : 0

CardStory.CardImageTracker:Update()

 

Unity Update. trackingResult.GetCount() : 0

CardStory.CardImageTracker:Update()

 

Unity Update. trackingResult.GetCount() : 0

CardStory.CardImageTracker:Update()

...

Posted Date: 2024-06-09 23:56     Edited Date: 2024-06-09 23:56     Writer: sejin

Thank you for your interest in MAXST AR SDK.

If you use a large number of images, you must use image packages for the app to work properly.
Package your 2dmaps into a 2dpkg via MapPackager.

For more information, see Set Target Image Package in the link  below.

If you have any questions, feel free to ask.

Thank you.


Best regards,

Shelden

MAXST Support Team

Posted Date: 2024-09-03 4:44     Edited Date: 2024-09-03 4:44     Writer: vivek

Thanks for the information. That worked great.
Quick follow up to this: We increased the number of cards to 160, but it looks like the maximum number that can be loaded in a local tracker is 100. Is there a way to track more than 100 cards? Using two local trackers perhaps?