Log in or register to post comments

NavVis M3 no dataset.json

August 17, 2021 - 4:26am #1

Hi,

I am trying to create an area target from the NavVis M3 scanner. Before scanning my rooms, I contacted NavVis and asked if the M3 scanner works similar to the M6 scanner that Vuforia suggests on their website. NavVis explained that the data format is the same for both scanners, they just do not list the M3 scanner anymore because they do not distribute it anymore.

So, I have my processed NavVis M3 scan data and try to convert it to e57 as described by Vuforia. This fails because I do not have the "dataset metadata (dataset.json)". Instead, the information that is supposed to be in "dataset.json" is stored in the files "title", "version_layout", and "origin.json" seperatly.

If I convert the files using other tools, the Area Target Generator App fails with the following error message

 E57 processing: Validation of the E57 file failed. Check the validation report for details.<br>
	[ SUCCESS ] 'cartesianBounds' field in Data3D structure shall be defined.<br>
	[ SUCCESS ] 'cartesianX', 'cartesianY', 'cartesianZ' fields in PointRecord structure shall be defined.<br>
	[ SUCCESS ] 'colorRed', 'colorGreen', 'colorBlue' fields in PointRecord structure shall be defined.<br>
	[ SUCCESS ] 'nor:normalX', 'nor:normalY', 'nor:normalZ' fields in PointRecord structure shall be defined or we need to be able to estimate the normals. To estimate normals each Data3D structure shall have associated images from exactly one scanning position through Image2D associatedData3DGuid field.<br>
	[ SUCCESS ] 'isColorInvalid' field in PointRecord structure must not be defined.<br>
	[ FAIL  ] E57 shall contain one or more Image2D structures that have either 'sphericalRepresentation' field or 'pinholeRepresentation' field.<br>
	[ SUCCESS ] 'pose' field in Image2D structure shall be defined.<br>
	[ SUCCESS ] Spherical images shall have minimal resolution of 4096x2048 and their width = 2 * height. Pinhole images shall have minimal resolution of 1024x1024 and must be square (width = height). 

I hope you can explain to me how to find or create the dataset.json file on the M3 scanner or how to handle the error from Area Target Generator.

Thanks,

Linda

NavVis M3 no dataset.json

September 16, 2021 - 8:32am #3

Hi Patrick,

thanks for your email, but my team and I figured out a solution before I was able to answer your email. I describe the solution here in case some else tries to use the NavVis M3 scanner to create an Area Target.

Before using the Area Target Generator, you need to convert the data to a .e57 file. For me, this did not work with the tool provided by Vuforia because the dataset.json file was missing. Converting the pointcloud to .e57 using other tools also failed, as described. The solution was to create the missing dataset.json file manually. Then, I was able to use the connverting tool from Vuforia and continue with the workflow in the Area Target Generator.

The dataset.json file is supposed to look somewhat similar to this:

"dataset": { "name": " [PASTE NAME FROM FILE "TITLE" HERE] ", "dataset_id": "YYYY-MM-DD_HH.MM.SS" }, "root": { "dataset_type": "proc", "dataset_version_layout": "proc-v4" }, "device": { }, "statistics": { [PASTE CONTENT FROM FILE STATSTICS.JSON HERE] }, "artificats": { "depth_maps_version": "1" } }

NavVis M3 no dataset.json

August 17, 2021 - 8:33am #2

Hey there,

 

I will reach out to you via email.

Once we find a solution to your problem, I will state this here as well.

 

Kind regards,

Patrick Scheper

Technical Community Manager

Log in or register to post comments