README.rst 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. labelme: Image Annotation Tool with Python
  2. ==========================================
  3. Labelme is a graphical image annotation tool inspired by
  4. http://labelme.csail.mit.edu.
  5. It is written in Python and uses Qt for its graphical interface.
  6. Dependencies
  7. ------------
  8. - `PyQt4 <http://www.riverbankcomputing.co.uk/software/pyqt/intro>`_
  9. Installation
  10. ------------
  11. On Ubuntu:
  12. .. code-block:: bash
  13. $ sudo apt-get install python-qt4 qt4-dev-tools
  14. $ sudo pip install labelme
  15. On OS X:
  16. .. code-block:: bash
  17. $ brew install qt qt4
  18. $ pip install labelme
  19. Usage
  20. -----
  21. .. code:: bash
  22. $ labelme # Open GUI
  23. The annotations are saved as a `JSON <http://www.json.org/>`_ file.
  24. The file includes the image itself.
  25. To view the json file quickly, you can use utility script:
  26. .. code-block:: bash
  27. $ labelme_draw_json sample.json
  28. Sample
  29. ------
  30. - `Original Image <https://github.com/wkentaro/labelme/blob/master/_media/IMG_6319.jpg>`_
  31. - `Screenshot <https://github.com/wkentaro/labelme/blob/master/_media/IMG_6319_screenshot.png>`_
  32. - `Generated Json File <https://github.com/wkentaro/labelme/blob/master/_media/IMG_6319.json>`_
  33. - `Visualized Json File <https://github.com/wkentaro/labelme/blob/master/_media/IMG_6319_draw_json.png>`_
  34. Screencast
  35. ----------
  36. .. image:: https://github.com/wkentaro/labelme/raw/master/_media/screencast.gif
  37. :width: 80%