Ask Your Question

opencv_annotation tool not opening...

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

rushix gravatar image

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

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

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

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



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

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

Tank annotations? I am guessing the next level warfare o_O

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

^^ lol, i entirely missed that part ;)

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

@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 -0500 )edit

Question Tools

1 follower


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

Seen: 732 times

Last updated: Feb 02 '18