Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Haartraining in OPEN CV

I am working on the haartraining project. I have created a text file that contains the object points that we focus on, using Object object marker utility. Now I need to compile createsample.cpp file to create .exe file, as I read it in tutorial. I really dont know how we can do that. Read somewhere that I need to make use of the CMakeLists`s

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

Can anyone please tell me how I can do that?