Labelme——的安装,使用及json文件转换成数据文件

一、安装labelme(在虚拟环境中安装可以先建一个虚拟环境python==3.6)

(1)首先打开cmd,创建虚拟环境,安装labelme(注意labelme==3.16.2)

conda create -n labelme python=3.6
pip install labelme==3.16.2

(2)启动labelme

labelme

如图:

 (3).json文件转换成数据文件

labelme_json_to_dataset C:\test\img.json


红色框:.json文件文件路径;蓝色框文件名你;

运行结果如图:

 两个标注:

成功了! 

猜你喜欢

转载自blog.csdn.net/m0_72662900/article/details/131005400