Add setep steps for windows

This commit is contained in:
Darren Lin(林子達) 2015-11-22 16:57:50 +08:00
parent f6842b3377
commit 1187b96403

View File

@ -9,6 +9,7 @@ The annotation file will be saved as a XML file. The annotation format is PASCAL
![](icons/demo.png)
## Dependencies
* Linux/Ubuntu
Requires at least [Python 2.6](http://www.python.org/getit/) and has been tested with [PyQt
4.8](http://www.riverbankcomputing.co.uk/software/pyqt/intro).
@ -16,6 +17,15 @@ In order to build the resource and assets, you need to install pyqt4-dev-tools:
`$ sudo apt-get install pyqt4-dev-tools`
`$ ./labelImg.py`
* Windows
Need to download and setup [Python 2.6](https://www.python.org/downloads/windows/) or later and [PyQt4](https://www.riverbankcomputing.com/software/pyqt/download). Open cmd and go to $labelImg,
`$ pyrcc4 -o resources.py resources.qrc`
`$ python labelImg.py`
## Usage
After cloning the code, you should run `make all` to generate the resource file.
@ -52,4 +62,4 @@ The annotation will be saved to the folder you specifiy
* n : Next image
* p : Previou image
* p : Previous image