List
Using cropped image as instant tracker
Posted Date: 2018-01-08 7:59     Edited Date: 2018-01-12 2:06     Writer: yuliyanto1985

Can I use realtime captured/screenshot and then cropped image as the marker? I can't find this function in the instant tracker sample.

And also, is it possible to create ar ruler/measurment like ar kit using this plugin?

Thanks.

Posted Date: 2018-01-09 1:44     Edited Date: 2018-01-09 1:44     Writer: kscho

Hello.

Thanks for your interest to our SDK.

 

1) Can I use realtime captured/screenshot and then cropped image as the marker?

Yes, you can use it via Instant Tracker. Please refer to the documentation below.

a) If you use native android, refer to "Creating the Instant Target Data" section of the link(https://developer.maxst.com/MD/doc/andr/ex/instant).

More specifically, the two functions "TrackerManager.getInstance().findSurface()" and "TrackerManager.getInstance().quitFindingSurface()" play a role which you mentioned.

 

b) If you use Unity, refer to "OnClickStart()" function of "InstantTrackerSample.cs" file.

More specifically, the two functions "TrackerManager.GetInstance().findSurface()" and "TrackerManager.GetInstance().quitFindingSurface()" play a role which you mentioned

 

2) And also, is it possible to create ar ruler/measurment like ar kit using this plugin?

We don't provide ruler/measuremnt plugin in the current version. We are considering putting it into the next version.

 

If you have quetions, feel free to ask.

Thanks.

 

- MAXST Support Team

Posted Date: 2018-01-11 4:39     Edited Date: 2018-01-11 4:39     Writer: yuliyanto1985

Hi,

Thanks for the answer, I'm using Unity for the project.

 

1) Can I use realtime captured/screenshot and then cropped image as the marker?

what I mean was, can use Texture2D as a marker?

 

2) We don't provide ruler/measuremnt plugin in the current version. We are considering putting it into the next version.

I'm sorry, but how long is it until the plugin ready to use?

 

3) Another question, how do I get the pixel/color data from the camera in unity? Do I need to edit the jar file to create access to it? I want to use the data for face tracking using opencv.

 

Thanks.

Posted Date: 2018-01-12 2:06     Edited Date: 2018-01-12 2:06     Writer: kscho

Hello.

The answers to your questions are :

1) Can I use realtime captured/screenshot and then cropped image as the marker?

what I mean was, can use Texture2D as a marker?

-> Unfortunately, we don't provide functionality which use Texture2D as a marker in realtime.

2) We don't provide ruler/measuremnt plugin in the current version. We are considering putting it into the next version.

I'm sorry, but how long is it until the plugin ready to use?

-> We have a plan to provide ruler/measurement function at the end of April in this year.

3) Another question, how do I get the pixel/color data from the camera in unity? Do I need to edit the jar file to create access to it? I want to use the data for face tracking using opencv.

-> You can get the current camera frame. The instruction is as follows.

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

TrackedImage image = state.GetImage();

byte[] imageData = image.GetData();