Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tzutalin committed May 25, 2019
1 parent fd79454 commit add1d99
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
27 changes: 14 additions & 13 deletions README.rst
Expand Up @@ -48,7 +48,7 @@ Ubuntu Linux
^^^^^^^^^^^^
Python 2 + Qt4

.. code::
.. code:: shell
sudo apt-get install pyqt4-dev-tools
sudo pip install lxml
Expand All @@ -58,7 +58,7 @@ Python 2 + Qt4
Python 3 + Qt5 (Recommanded)

This comment has been minimized.

Copy link
@rafi32313

rafi32313 Dec 23, 2019

sudo apt-get install pyqt4- dev- tools
sudo pip install xml


.. code::
.. code:: shell
sudo apt-get install pyqt5-dev-tools
sudo pip3 install -r requirements/requirements-linux-python3.txt
Expand All @@ -67,10 +67,10 @@ Python 3 + Qt5 (Recommanded)
python3 labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE]
macOS
^^^^
^^^^^
Python 2 + Qt4

.. code::
.. code:: shell
brew install qt qt4
brew install libxml2
Expand All @@ -80,7 +80,7 @@ Python 2 + Qt4
Python 3 + Qt5 (Recommanded)

.. code::
.. code:: shell
brew install qt # Install qt-5.x.x by Homebrew
brew install libxml2
Expand All @@ -99,7 +99,7 @@ Python 3 + Qt5 (Recommanded)
This can avoid a lot of the QT / Python version issues, and gives you a nice .app file with a new SVG Icon
in your /Applications folder. You can consider this script: build-tools/build-for-macos.sh

.. code::
.. code:: shell
brew install python3
pip install pipenv
Expand All @@ -122,20 +122,20 @@ and `install lxml <http://lxml.de/installation.html>`__.

Open cmd and go to the `labelImg <#labelimg>`__ directory

.. code::
.. code:: shell
pyrcc4 -o resources.py resources.qrc
python labelImg.py
python labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE]
Windows + Anaconda
^^^^^^^
^^^^^^^^^^^^^^^^^^

Download and install `Anaconda <https://www.anaconda.com/download/#download>`__ (Python 3+)

Open the Anaconda Prompt and go to the `labelImg <#labelimg>`__ directory

.. code::
.. code:: shell
conda install pyqt=5
pyrcc5 -o resources.py resources.qrc
Expand All @@ -144,7 +144,7 @@ Open the Anaconda Prompt and go to the `labelImg <#labelimg>`__ directory
Get from PyPI
~~~~~~~~~~~~~~~~~
.. code::
.. code:: shell
pip install labelImg
labelImg
Expand All @@ -154,7 +154,7 @@ I tested pip on Ubuntu 14.04 and 16.04. However, I didn't test pip on macOS and

Use Docker
~~~~~~~~~~~~~~~~~
.. code::
.. code:: shell
docker run -it \
--user $(id -u) \
Expand All @@ -177,7 +177,7 @@ Usage
-----

Steps (PascalVOC)
~~~~~
~~~~~~~~~~~~~~~~~

1. Build and launch using the instructions above.
2. Click 'Change default saved annotation folder' in Menu/File
Expand All @@ -192,7 +192,7 @@ The annotation will be saved to the folder you specify.
You can refer to the below hotkeys to speed up your workflow.

Steps (YOLO)
~~~~~
~~~~~~~~~~~~

1. In ``data/predefined_classes.txt`` define the list of classes that will be used for your training.

Expand Down Expand Up @@ -278,3 +278,4 @@ Related
3. `Generating the PASCAL VOC TFRecord files <https://github.com/tensorflow/models/blob/4f32535fe7040bb1e429ad0e3c948a492a89482d/research/object_detection/g3doc/preparing_inputs.md#generating-the-pascal-voc-tfrecord-files>`__
4. `App Icon based on Icon by Nick Roach (GPL)` <https://www.elegantthemes.com/> <https://www.iconfinder.com/icons/1054978/shop_tag_icon> __


6 changes: 3 additions & 3 deletions build-tools/build-for-macos.sh
@@ -1,9 +1,9 @@
#!/bin/sh

brew install python@2
pip install --upgrade virtualenv
pip install --upgrade virtualenv

# clonde labelimg source
# clone labelimg source
rm -rf /tmp/labelImgSetup
mkdir /tmp/labelImgSetup
cd /tmp/labelImgSetup
Expand All @@ -27,4 +27,4 @@ mv "/tmp/labelImgSetup/labelImg-master/dist/labelImg.app" /Applications
deactivate
cd ../
rm -rf /tmp/labelImgSetup
echo 'DONE'
echo 'DONE'

0 comments on commit add1d99

Please sign in to comment.