Skip to content

LLC/label_file_transformation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

label_file_transformation

labelimg_to_labelme

  • 將 Labelimg 的 label 檔 (.xml) 無痛轉成 Labelme 的 label 檔 (.json)

How to use this code

from labelimg_tools import labelimg_to_labelme


labelimg_to_labelme(
    input_xml_path='./examples/test_001.xml',
    output_json_path='./examples/test_001.json'
)
  • use labelimg to read xml file Alt text

  • use labelme to read json file Alt text

labelimg_to_df

  • 將 Labelimg 的 label 檔 (.xml) 無痛轉成 DataFrame

How to use this code

from labelimg_tools import labelimg_to_df


labelimg_to_df(
    input_xml_dir='./examples/'
)

About

將 label 檔做各式各樣的轉換

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages