List
More information about Map
Posted Date: 2020-04-01 6:59     Edited Date: 2020-04-02 8:51     Writer: inactive

Development details:

1. SDK Version: 5.0.1
2. Development Environment: (eg. Unity-Android, Unity-iOS, Native Android, Native iOS): Native Android
3. Tracker/Scanner: Instant tracker
4. License Type(Free / Pro-One Time Fee / Pro-Subscription / Enterprise): Free
5. Target Device(Optional): Huawei nova 3i

Hi,

Can you please share the code to save a map and retrieve a saved map. (The documentation doesn't provide many details)

I used below code when clicks a button to save the map.

TrackerManager.getInstance().addTrackerData(mapFileName, false);
    TrackerManager.getInstance().loadTrackerData();

But how to retrieve the map. Can you share more details about this?

 

 

Posted Date: 2020-04-01 9:01     Edited Date: 2020-04-01 11:43     Writer: sjkim

Thanks for your interest to our MAXST AR SDK.

 

It reports the result of the tracked map through the getTrackingResult() function in the TrackingState class.

You can find it through com.maxst.ar.TrackingState.java code.

 

Also, The meaning of the addTrackerData(String trackingFileName, boolean isAndroidAssetFile) function mentioned above is register the map file.

 - trackingFileName : The information of target data

 - isAndroidAssetFile : When copying to the assets folder, set the second parameter to true to indicate that it is a relative path and a file in the assets folder. If copying to external storage, enter the full path and set the second parameter to false.

And then, The meaning of the loadTrackerData function mentioned above is target image tracking status.

 

If you have other question, feel free to continues question us.

Thanks.

 

Francisco

MAXST Support Team
 

Posted Date: 2020-04-01 13:59     Edited Date: 2020-04-01 13:59     Writer: inactive

1) Is it possible to save the map data(with placed 3d objects(with object positions, scale, rotation etc) ) in InstantTracker? also retrieve the map data (with previously placed objects on the same scene ) inside the instant tracker?

2)  what is the code for retrieve map data? (I just need to retrieve previous data on a button click)

 

Thank you!

Posted Date: 2020-04-02 8:51     Edited Date: 2020-04-02 8:51     Writer: sjkim

1. Could you wanna export map data for Instant Tracker?

No, We cannot export map data at Instant Tracker.

 

Also, you can't search the map inside Instant Tracker.

Please using the getTrackingResult() function for retrieve the map data.

 

2. Instant Tracker enhances 3D content based on the plane found on the camera image momentarily without prior learning.

AR function can be implemented in arbitrary space without preparing a specific target image.

Therefore, Since map data is not saved, only the result of the tracked map can be grasped.

 

If you have another question, feel free to continues question us.

Thanks.

 

Francisco

MAXST Support Team