Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I'm not sure about Windows, but on Linux, if you build OpenCV from sources, createsamples is here: opencv_build_dir/bin/opencv_createsamples.

createsamples is compiled from sources in opencv/apps/haartraining folder. You can read CMakeLists.txt file from there and find the following lines:

add_executable(opencv_createsamples cvhaartraining.h createsamples.cpp)
set_target_properties(opencv_createsamples PROPERTIES
                      DEBUG_POSTFIX "${OPENCV_DEBUG_POSTFIX}"
                      OUTPUT_NAME "opencv_createsamples")

So, try to build OpenCV from sources and you should get createsamples application. But it may be included into super pack for Windows and the prebuilt form.