【labelme】13分鐘教會(huì)你使用labelme的超詳細(xì)教程

Labelme使用教程

安裝Anaconda
進(jìn)入Anaconda Powershell Prompt
默認(rèn)進(jìn)入base環(huán)境

labelme安裝以github為準(zhǔn)
https://github.com/CSAILVision/LabelMeAnnotationTool
或https://github.com/wkentaro/labelme/



輸入conda create --name=labelme python=3
conda activate labelme
pip install labelme==3.6.2 -i https://pypi.tuna.tsinghua.edu.cn/simple
最好指定版本好不然labelme可能會(huì)安裝失敗

實(shí)例準(zhǔn)備工作
準(zhǔn)備需要進(jìn)行標(biāo)注的圖片文件夾,(如放在桌面上)格式最好是jpg
必須的兩個(gè)標(biāo)簽
__ignore__
_background_




cd .\Desktop
cd examples
使用labelme命令
labelme images --labels labels.txt --nodata --validatelabel exact --config '{shift_auto_shape_color: -2}'


ctrl+s保存為josn文件
用標(biāo)注結(jié)果生成VOC格式的語(yǔ)義分割數(shù)據(jù)集

標(biāo)簽: