List
Create 3D Map from Video
Posted Date: 2019-06-26 15:21     Edited Date: 2019-06-28 0:48     Writer: inactive

1. SDK Version: 4.0.0
2. Development Environment: Unity-Android
3. Tracker/Scanner: SLAM
4. License Type: Free 
5. Target Device(Optional): Huawei MediaPad

Hi, I am trying to create a scene in unity which allows the user to generate a 3D map from a video. The idea is that the video will be taken from a rendered version of the object with no shadows or reflections to provide the best tracking. I have based this scene on the VisualSLAM sample but have edited the script in accordance with the Video Tracker tutorial I found in the Maxst Documentation. Please see enclosed images on these methods.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

When the commented code block in the middle is uncommented, this correctly outputs all frames taken of the video to the desired folder. It is my understanding that the SetNewFrame method emulates camera capture by feeding the image to the camera? If this is this case, the SLAM function should be able to map feature points based on those images? Unfortunately when it comes to saving the 3DMap, the only thing that is generated is the preview .png of the map which is 1px x 1px (therefore empty). Shown below are my other methods relevant to this, incase they may help you understand. If you need any more information, dont hesitate to ask.

Kind Regards, Matthew

Posted Date: 2019-06-27 2:35     Edited Date: 2019-06-27 2:35     Writer: inactive

Hello matthew.quinn.

I have read all the questions, and I know the project you want to do. But I can not grasp the point. Please let me know briefly what you want to ask or what you want to ask us.

 

Leo

Maxst Support Team

Posted Date: 2019-06-27 8:40     Edited Date: 2019-06-27 8:40     Writer: inactive

Hi Leo

Sorry if i wasnt more direct with the questions I need to ask. I would like to know,

1. Does Maxst support reading feature points from a video?

2. What would be the best way to include this? 

Regards, 
Matt

Posted Date: 2019-06-28 0:48     Edited Date: 2019-06-28 0:48     Writer: inactive

Hello matthew.quinn.

1. It is available in Maxst SDK using the functions provided by Unity.
2. You can use our Image Tracker to make it trackable in your video. When you open the unity example code that we provide, there is a scene called Video Tracker. If you open the code, you can route the video you want to track to videoPlayer and use ImageTracker to trace the frame that is shown in the video.

Thank you.

 

Leo

Maxst Support Team