DMPR-PS icon indicating copy to clipboard operation
DMPR-PS copied to clipboard

How to generate the json file?

Open nyg2017 opened this issue 4 years ago • 1 comments

Thanks for your work! I wonder to know how to generate the json label file? I notice that the marks parameters in json label files are added 2 value relative to the .mat label file. What are those parameters mean and how to calculate this extra parameters? Looking forward for your response.

nyg2017 avatar Feb 20 '20 04:02 nyg2017

The label files are first generated using the directional_point branch of my labeling tool MarkToolForParkingLotPoint, and then converted to json format using mat2json.m.

The directional_point branch labels an additional point for each marking-point. The additional two values in a "marks" label are the location of this point. Together with the first two values in a "marks" label, they indicate the orientation of a marking-point.

Teoge avatar Feb 22 '20 14:02 Teoge