pylabel-project / pylabel

Python library for computer vision labeling tasks. The core functionality is to translate bounding box annotations between different formats-for example, from coco to yolo.
MIT License
321 stars 57 forks source link

yaml support chinese and handle voc format #118

Closed pizixie closed 1 year ago

pizixie commented 1 year ago
  1. support unicode(chinese)
  2. handle voc format. ignore "folder" and "filename" node in xml.because they move to other dir sometimes.
alexheat commented 1 year ago

Thank you @pizixie I will check it out.

alexheat commented 1 year ago

@pizixie could you possibly provide a sample dataset with the issue that you are addressing with you fix? I want to step through it to make sure that i understand. Thank you

pizixie commented 1 year ago

ok, i will upload some file in tomorrow.

alexheat commented 1 year ago

Hello @pizixie I have cherry picked your commit for the Chinese characters. I still have some questions about the voc commit. Someone else has submitted a similar commit. Could you help to review it and find the best solution?

pizixie commented 1 year ago

0007.zip hi, I am so sorry, Because too busy in week. There is a sample dataset with VOC format. you can see that "file"/"folder"/"path" node in xml file. while "path" is incorrect.

pizixie commented 1 year ago

oh...oh...speak chinese. 标注与图片名字相同,后缀不同。这才是简单的关联方式。 很多工具在这些字段中随意记录信息,太混乱了,并且文件还不能移动。

pizixie commented 1 year ago

Hello @pizixie I have cherry picked your commit for the Chinese characters. I still have some questions about the voc commit. Someone else has submitted a similar commit. Could you help to review it and find the best solution?

我恐怕没有时间去检查这些commit

alexheat commented 1 year ago

Thank you! But I don't speak Chinese :)

alexheat commented 1 year ago

Thank you @pizixie I have merged your pull request and released it in v52 https://github.com/pylabel-project/pylabel/releases/tag/v0.1.52

pizixie commented 1 year ago

ok,I will test it in future work.