So I have been following this YouTube tutorial and referencing the officail OpenCV documentation. I am using Python 3.8.8, with VSC and OpenCV version 4.5.3 on my machine, although I have installed OpenCV 3.4 within my device to access the opencv_annotations, opencv_createsamples, and opencv_traincascade .exe files.
To use the annotations.exe file, I have specified this command line to run the application:
C:/Users/username/Documents/opencv/build/x64/vc15/bin/opencv_annotation.exe --annotations= tree_images/cabbage_tree/pos.txt --images= tree_images/cabbage_tree/positive/
I have tried using absolute paths in place of the current ones, but it returns the same result, which is listing the opencv_annotation.exe help settings within the terminal, but not showing the window box that is supposed to show, as seen below:
I also have tried removing the whitespace after the = sign, but returns with the error:
OpenCV(3.4.15) Error: Requested object was not found (could not open directory: /tree_images/cabbage_tree/positive) in glob_rec, file C:\build\3_4_winpack-build-win64-vc15\opencv\modules\core\src\glob.cpp, line 267
Any help would be greatly appreciated.
I tried changing directory to the cabbage_tree folder, attempting to remove long paths, but still just returns with the help options of opencv_annotations.exe.