From 1187b964039ba77a193487d50c59dc4eb0a0058c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Darren=20Lin=28=E6=9E=97=E5=AD=90=E9=81=94=29?= Date: Sun, 22 Nov 2015 16:57:50 +0800 Subject: [PATCH] Add setep steps for windows --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ca7dd9fe..12d56f10 100644 --- a/README.md +++ b/README.md @@ -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