Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up binder tools #1

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ LabelImg
.. image:: https://img.shields.io/travis/tzutalin/labelImg.svg
:target: https://travis-ci.org/tzutalin/labelImg

.. image:: https://mybinder.org/badge.svg
:target: https://mybinder.org/v2/gh/4QuantOSS/labelImg/binder-tools

LabelImg is a graphical image annotation tool.

It is written in Python and uses Qt for its graphical interface.
Expand Down Expand Up @@ -239,6 +242,18 @@ Hotkeys
| ↑→↓← | Keyboard arrows to move selected rect box |
+------------+--------------------------------------------+

Try now in Binder
~~~~~~~~~~~~~~~~~

.. image:: https://raw.githubusercontent.com/4QuantOSS/labelImg/binder-tools/demo/demo.gif
:alt: Demo Video

1. Click the launch binder button
2. Go to new -> VNC Session
3. Click connect to connect
4. Type 'python labelImg.py'
5. Annotate away

How to contribute
~~~~~~~~~~~~~~~~~

Expand Down
12 changes: 12 additions & 0 deletions binder/apt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
cmake
xvfb
pyqt5-dev-tools
novnc
websockify
tightvncserver
xfonts-base
xterm
openbox
supervisor
x11-xserver-utils
xinit
15 changes: 15 additions & 0 deletions binder/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: labelimg_env
channels:
- menpo
- conda-forge
- defaults
dependencies:
- qt>=5.0
- pyqt=5
- lxml
- pip:
- py2app
- pyzmq>=17
- tornado>=5
- nbserverproxy==0.8.1
- git+https://github.com/ryanlovett/nbnovnc@master
7 changes: 7 additions & 0 deletions binder/postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
jupyter serverextension enable --py nbserverproxy --sys-prefix

jupyter serverextension enable --py nbnovnc --sys-prefix
jupyter nbextension install --py nbnovnc --sys-prefix
jupyter nbextension enable --py nbnovnc --sys-prefix
make qt5py3
pip install .
Binary file added demo/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.