【引言】在目標檢測中,須要用圖像標註工具標註圖像,如Labelme 、 labelImg等,本文使用的是LabelImg ,LabelImg在Ubuntu下很好部署,python
在win10中有些地方要注意下,本文作簡單總結git
【安裝過程】github
python3.5 3.6均可以,能夠用Python原生或Anaconda,記得 Add Python 3.5 to PATH shell
pip安裝 pip install PyQt5 工具
或conda安裝 conda install -c inso pyqt5 spa
pip安裝 pip install lxml 3d
或conda安裝 conda install -c conda-forge lxml code
【提示】 conda.anaconda.org 可查找安裝不一樣工具包的命令xml
下載LabelImg 並解壓到指定目錄,進入LabelImg-master文件夾,((先按)shift + 右鍵(後按) ),選擇在此處打開powershell窗口,進入shell後,依次輸入下列命令:blog
pyrcc5 -o resources.py resources.qrc
上行若無報錯,則運行下面代碼運行labelImg(仍是在powershell中哦,系統默認python環境是3.5或3.6)
python labelImg.py