opencv_annotation error
Hello,
I am trying to annotate 10 images (named img1.jpg, ... , img10.jpg) using opencv_annotation tool in Windows openCV 3.1.0. I have placed these 10 images in a folder named p
and placed that folder in /build/bin/Debug.
I have built only the Debug version of the library, so I am running the opencv_annotationd.exe
from folder /build/bin/Debug with the following command line
opencv_annotationd --annotations=/p/file.txt --images=/p/
But I am getting the following error
The path for the output file contains an error and could not be opened. Please check again!
What might be the issue?
Thanks.
This is actually normal. You just specified it to look for a root folder, which is Linux style, but does not work in windows. Start with an absolute path to your folder, and something simple like
C:\\p\\
. Also notice the double backslashes, because windows sees that as escape chars.I have tried your suggestion. Placed the folder
p
in Local Disk C and ran the following command line from inside the build/bin/Debug folderStill same error.
Strange ... got it working on Ubuntu, just verified like this ... not sure and not around a windows PC to check why it goes wrong ...
I have also tried it on Linux with the following:
Same error.