Ask Your Question
0

I am using the opencv_annotation tool with java version 2.4.9 and running the utility from Windows 10 command line - I keep getting the following error :

asked 2017-08-02 14:13:40 -0600

marcus gravatar image

"The path for the output file contains an error and could not be opened. Please check again!"

I don't understand why I am getting this error since I am using the same directory for both the --images and --annotations params and I am supplying the absolute filename in both cases.

edit retag flag offensive close merge delete

Comments

1
  • 2.4.9 is stone age
  • how is that related to java ? (the annotation tool is a c++ exe)
berak gravatar imageberak ( 2017-08-02 19:56:49 -0600 )edit
1

can you show your cmdline ?

berak gravatar imageberak ( 2017-08-03 00:39:27 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-08-03 03:38:16 -0600

updated 2017-08-03 03:39:37 -0600

As author of the tool, I encourage you to use at least latest 2.4 branch. The tool had issues, these were reported and fixed, but you probably running the broken version still.

also make sure the parameters are passed correctly like --images=/data/text.txt --annotations=/data/annotations.txt without any spaced between the = sign and the contents.

People tend to do this wrong from time to time.

edit flag offensive delete link more
0

answered 2017-08-15 09:53:16 -0600

marcus gravatar image

Sorry for not getting back, I was on my hols.

The solution for the problem is to use -images=/data/text.txt and -annotations=/data/annotations.txt, i.e. a single horizontal dash (-) in front of the key words.

edit flag offensive delete link more

Comments

That is not correct ...its single dash for a shortened parameter but double dash for normal ones. Can you check this again, because it works on all OS and configurations here.

StevenPuttemans gravatar imageStevenPuttemans ( 2017-08-16 02:09:46 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-08-02 14:13:40 -0600

Seen: 397 times

Last updated: Aug 15 '17