- save out the 'class in rgb' result, and file name is '[FILENAME]_class.png'
- save out the 'object class in gray' result, and file name is '[FILENAME]_inst_class_gray.png'
- a config file including customized class names and their colors in save out '[FILENAME]_class.png'
-- annotations
-- file_1_class.png
-- file_1_inst_class_gray.png
-- file_2_class.png
-- file_2_inst_class_gray.png
-- ...
-- config.xml
Or,
-- annotations
-- sequence_1
-- file_1_class.png
-- file_1_inst_class_gray.png
-- file_2_class.png
-- file_2_inst_class_gray.png
-- ...
-- sequence_1
-- file_1_class.png
-- file_1_inst_class_gray.png
-- file_2_class.png
-- file_2_inst_class_gray.png
-- ...
-- sequence_ ...
-- config.xml
-
dependencies:
numpy opencv-python scipy fonts font-fredoka-one -
demo of parsing:
>>> cd Tool-afterAnnotation >>> python demo_parse.py -
customize your own parsing process:
- refering to the
Tool-afterAnnotation/demo_parse.py. - setup below variable in line 6~11:
xml_config_fpath in_annotated_path categories save_path - refering to the