COCO格式的目标检测数据集的目录如下图所示

e7be5c465947917ba9b80e1bfdc9b54a.png

一、在Anaconda中安装labelme

创建虚拟环境
conda create --name=envlabelme_20200422 python=3.6
activate envlabelme_20200422

#并在其中安装labelme 
pip install labelme -i https://mirrors.aliyun.com/pypi/simple/

#打开labelme  
labelme  

打开后如下图所示

88ebc31ad4e6e15145b6d6e26959c1c1.png

二、标注图片

打开图片文件或图片文件夹,即可开始标注

7215eecd2e7e54dccde2d5844383c336.png

标注后,自动创建json文件,其内容如下图所示

6f97811bf037a59e80c89c901f05c4cd.png

参考

labelme 官网: https://github.com/wkentaro/labelme

更多推荐