Where is Createsamples.exe? - OpenCV Windows

I am working on a sample project in Opencv. I have created a text file containing image dots using objectmarker. Now I need Createsamples.exe to create a vector file. But there is no such file in the "opencv" folder. Theres creates a createmple.cpp file. Please help me how to do this guys ..

+3


source to share


3 answers


You will need to download and install the OpenCV distribution here .
Building it from cpp source gave me errors as well.



createsamples.exe

will be in the following path: \opencv\build\x64\vc14\bin

+2


source


I really don't understand why the bounty is added to this question, Yuu's answer is very close to being correct with a few changes:

The executable is not called createsamples.exe

in newer versions of OpenCV. On any default download and installation of the current version of OpenCV you will be able to navigate to the installation folder, for me the correct folder is:

C:\libraries\opencv\build\install\x86\vc15\bin

and inside that folder you will find both debug and release versions of the executable:

  • 'opencv_createsamples.exe - release
  • opencv_createsamplesd.exe - debug

Update 1.0

For the sake of completeness, I just downloaded and installed the default V3.4.0 version from here . All I did was download and install, and you can find it opencv_createsamples.exe

here:



  • {MyChosenInstallFolder} \ OpenCV \ build \ x64 \ VC15 \ bin
  • {MyChosenInstallFolder} \ OpenCV \ build \ x64 \ vc14 \ bin

It does not provide debug executables.

Update 2.0

I just completed the download and installation for the most recent V2.X and you can find opencv_createsamples.exe here:

  • {MyChosenInstallFolder} \ OpenCV \ build \ x64 \ vc14 \ bin
  • {MyChosenInstallFolder} \ OpenCV \ build \ x86 \ vc14 \ bin

You can see only VC14 libs are built with 2.X and VC15 and VC14 X64 for V3.X

0


source


Find the file opencv_createsamples.exe

. By default, it should be in

<opencv-dir>/build/bin

or

<opencv-dir>/build/bin/Release

...

-2


source







All Articles