Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.28 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.28 KB

NMAnnotation-tool

This is a simple tool to annotate keypoints in images,for your computer vision tasks. In order to use it -you need Opencv python2 or 3 and Tkinter

to install tkinter,use sudo apt-get install python-tk or sudo apt-get install python-tk Download the code and run using command line

python /path/to/Annotation.py

python3 /path/to/Annotation.py

A dialogue box will appear prompting you to select the directories.You can select multiple.Once you're done selecting the directories,close the dialog box. Start marking keypoints on the images.Green circles will appear. Some helpful commands-

  • Next image - space (twice)
  • Erase point - ‘e’
  • Ignore(irrelevant/blurry) image - space+esc
  • Quit - space+q
  • In order to delete previous selected point in case you made an error press e,this will turn the last green point white indicating that the last point was deleted.If you have not selected any point but try to erase,an error dialog box opens .click OK and close the tk window and continue.

At the end of the process text files with the keypoint co-ordinates for all images in the selected directories will be created in the same directory as also a namelist.txt containing names of all the image files whose keypoints were selected.

**NOTE: This does not work on PDFs.