Skip to content

A simple tool to create positive and negative samples for cascading classifiers.

Notifications You must be signed in to change notification settings

cansik/opencv-sample-annotator

Repository files navigation

OpenCV Sample Annotator

A simple tool to create positive and negative samples for cascading classifiers.

Next steps

  • implement rectangle selection and deletion

Download

Download the source code or use a prebuilt binary:

Tool

When you first start the application you have to choose the dataset (images to annotate) and also the output file.

Then every image is showed to you and you have to annotate all elements you want to classify in the image. With the Clear button it is possible to clear all rectangles on the image.

Window

After the last image is processed or you clicked Finish the application creates the output as a text file which can be read by the opencv_createsamples application.

Here you see an example of the positives.txt:

10-House-Floor-Plans-962270.jpg 4 -1 130 71 59 187 12 68 55 160 177 57 61 237 198 49 55 
arapahoFloorPlanLg.JPG 2 301 305 56 50 384 345 45 51 
floorplan1_fs.jpg 3 217 160 26 24 243 137 24 21 192 122 27 31 

About

Developed during the bachelor thesis of Alexander Wyss & Florian Bruggisser.

About

A simple tool to create positive and negative samples for cascading classifiers.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages