How to use OpenCv utilities on the command line

I am doing object detection in images using the OpenCv library in Java Eclipse. I am using Cascade Classifier Training for this, using the Haar functions.

To train the classifier I need to generate several text files, a .vec and finally a .xml file on the command line. I have already generated text files, but when I create the .vec file using the opencv_createsamples utility on the command line, I get an error message:

Team

opencv_createsamples is not recognized.

To solve this problem, I need to build OpenCv using TBB Threading Building using CMake . I can not do it. Please offer me a complete and correct method for building OpenCv using TBB using CMake .

Thanks in advance.

0
java cmake tbb
Sep 17 '15 at 6:09
source share
1 answer

Make sure you have the correct file name by searching in Explorer. then add the address prefix. Note that this example has d for debugging.

C: \ opencv \ bin \ Debug \ opencv_createsamplesd.exe -vec samples.vec

+1
Apr 30 '16 at 16:56
source share



All Articles