Labelme is a graphical image annotation tool inspired by http://labelme.csail.mit.edu.
It is written in Python and uses Qt for its graphical interface.
On Ubuntu:
$ sudo apt-get install python-qt4 qt4-dev-tools
$ sudo pip install labelme
On OS X:
$ brew install qt qt4
$ pip install labelme
$ labelme # Open GUI
The annotations are saved as a JSON file. The file includes the image itself.
To view the json file quickly, you can use utility script:
$ labelme_draw_json sample.json