an php script that can help you to generate annotation.json based on you xmls label files.
Requirements:
- PHP Apache (I using MAMMP)
- XML Annotation label files
Labeling Software: https://github.com/tzutalin/labelImg
Step:
- Copy all this files to root of your apache (e.g: MAMMP, put in inside the htdocs folder)
- Copy all your xml files to the ./xmls folder
- Start your php service
- Execute the converter.php by visiting localhost/CoreMlAnnotationJsonGeneratorWithPHP/converter.php
- File annotations.json will be automatically generated inside the script directory