roLabelImg is a graphical image annotation tool can label ROTATED rectangle regions, which is rewrite from 'LabelImg'.
github源码:https://github.com/cgvict/roLabelImg
win10 + Anaconda3上安装编译:
1.安装python2.7;
1)Anaconda创建python2.7虚拟环境
conda create py27 python = 2.7
2)激活py27
conda activate py27
2.安装pyqt4;
pip install PyQt4‑4.11.4‑cp27‑cp27m‑win_amd64.whl,安装比较慢,一直没成功,所以先下载再安装了。
http://www.lfd.uci.edu/~gohlke/pythonlibs
下载PyQt4‑4.11.4‑cp27‑cp27m‑win_amd64.whl保存到本地
pip install d:/PyQt4‑4.11.4‑cp27‑cp27m‑win_amd64.whl
3.安装lxml
pip install lxml
4.安装PyInstaller
pip install pyinstaller
5.切换工作目录至源码目录
pyinstaller -F -p C:\ProgramData\Anaconda3\envs\py27\Lib\site-packages;D:\code\roLabelImg-master\libs labelImg.py
6.运行exe