You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LabelImg is a graphical image annotation tool.
It is written in Python and uses Qt for its graphical interface.
Annotations are saved as XML files in PASCAL VOC format, the format used by ImageNet.
labelImg
🔗 tzutalin/labelImg: LabelImg is a graphical image annotation tool and label object bounding boxes in images
TL; DR
連猴子都能懂的安裝這邊請 🐒
由作者提供的 🔗 LabelImg 下載後解壓縮,執行 labelImg.exe。
以下為紀錄我處處碰壁的安裝過程。
Mac Setup
Mac安裝參考這篇 🔗 Mac安装图像标注工具labelImg - CSDN博客
後進入 python 檢查是否安裝成功:
雖然成功
import
但還是照著教學文檢查環境變量:PyQt4 是用
brew
安裝的,但是路徑顯示不一致需要修改:open
~/.bash_profile 並將下面的加入文件中:存檔後,關閉 terminal 並重新進入 python 中 import 檢查。
後來發現更簡單的安裝,不需要以上步驟 🙂️
是的沒錯!就是作者去年(2017/05)在 repo 頁面新增的 Get from PyPI。
Windows Setup
Windows 一開始裝更是處處碰壁,完全沒有想到我大
pip
就直接收工了。參考教學:
主要參考第一個教程,其他是來排錯用的。
第一個教程在設定變數那邊是把 Anaconda 的路徑設在使用者變數,而其他教程沒列舉的幾乎都是設定在系統變數 🤔
並且注意路徑要包含到 Scripts,而不是只有 Anaconda。
再來卡關在 PyQt4 的這個指令,怎麼都是" 'pyrcc4' 不是內部或外部指令、可執行的程式或批次檔。"
後來是完全放棄此路直接
pip
來解決,但是還是不如 Mac 版順暢。在有安裝 Anaconda3 的情況下,並
conda list
檢查與 Mac 同樣是有 msgpack-python,不清楚為什麼 Windows 還需要多安裝 msgpack 才可以。The text was updated successfully, but these errors were encountered: