- 將 Labelimg 的 label 檔 (.xml) 無痛轉成 Labelme 的 label 檔 (.json)
from labelimg_tools import labelimg_to_labelme
labelimg_to_labelme(
input_xml_path='./examples/test_001.xml',
output_json_path='./examples/test_001.json'
)
- 將 Labelimg 的 label 檔 (.xml) 無痛轉成 DataFrame
from labelimg_tools import labelimg_to_df
labelimg_to_df(
input_xml_dir='./examples/'
)