dunxuan / LFW-VOC-Label

https://www.dunxuan.xyz/experience/LFW-VOC-Label.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LFW-VOC-Label

LFW数据集标注后的VOC格式。一张图片只标注了一张人脸,人脸的范围中包含额头、耳朵等裸露的头部皮肤。

img_list.py

按照/lfw/peopleDevTrain.txt/lfw/peopleDevTest.txt的顺序,将图片路径导出到/lfw/img_list.txt

img_dir_2_txt(is_train = True/False)

jpg_2_dir.py

按照/lfw/peopleDevTrain.txt/lfw/peopleDevTest.txt的分类,将图片分别放到/lfw/train根目录或/lfw/test根目录,不再放置到人名子目录。

# __main__
if __name__ == '__main__':
img_dir_2_txt(is_train=True)
copy_img_2_dir(is_train=True)
img_dir_2_txt(is_train=False)
copy_img_2_dir(is_train=False)

相关

使用chaiwenda/ImgLabel手动标注。

License

MIT license


知识共享许可协议
LFW-VOC-Label LFW数据集标注为VOC格式顿玄 采用 知识共享 署名 4.0 国际 许可协议进行许可。
基于https://github.com/dunxuan/LFW-VOC-Label上的作品创作。

About

https://www.dunxuan.xyz/experience/LFW-VOC-Label.html

License:MIT License


Languages

Language:Python 100.0%