Ask Your Question
0

opencv_annotation tool not opening...

asked 2018-02-02 08:18:09 -0600

rushix gravatar image

updated 2018-02-04 07:43:49 -0600

Hi members, I have created a directory structure as following :

tanks /images

Using following command line tool : Apples-MacBook:Documents rushi$ opencv_annotation -images /tanks/images -annotations /tanks/annotations.txt * mark rectangles with the left mouse button, * press 'c' to accept a selection, * press 'd' to delete the latest selection, * press 'n' to proceed with next image, * press 'esc' to stop. Apples-MacBook:Documents rushi$

But it is not starting any utility so that i can select rectangles of objects. neither it is showing any error too.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-02-02 08:28:23 -0600

berak gravatar image

since this is using cv::CommandlineParser you have to call it like:

opencv_annotation --images=/tanks/images --annotations=/tanks/annotations.txt

( you're mainly missing the = between key and value, and the "long" options need 2 hyphen)

edit flag offensive delete link more

Comments

1

@berak, As usual ..., Its done. and thanks again.. It opened the tool.

rushix gravatar imagerushix ( 2018-02-02 08:35:49 -0600 )edit
1

Tank annotations? I am guessing the next level warfare o_O

StevenPuttemans gravatar imageStevenPuttemans ( 2018-02-02 09:04:07 -0600 )edit
1

^^ lol, i entirely missed that part ;)

berak gravatar imageberak ( 2018-02-02 09:05:18 -0600 )edit
1

@berak, @StevenPuttemans, Yes, I am trying to make a cascade which will be able to identify and detect "tanks"... No.. No.. No... Its not for a warfare... I just like tanks... Big hulks... sturdy and strong. I am just learning training cascades.., Lets see .. How better i trains it.. lol.

rushix gravatar imagerushix ( 2018-02-02 09:11:25 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-02-02 08:18:09 -0600

Seen: 1,567 times

Last updated: Feb 02 '18