Search code examples
opencvcondahaar-classifiercascade-classifier

opencv_createsamples.exe location for conda install


I am trying to create a cascade classifier for my program.The docs mention using a script in order to help generate positive images, but I don't know where to get this script. I am wondering if the opencv_createsamples application is available for opencv installs via conda. How can I obtain it?


Solution

  • You can obtain the script executable by either building OpenCV v3 from source. The conda install will not include them. You will find the applications and how to build them in the repositorys apps folder

    If you are on Linux there is a package available: sudo apt get install libopencv

    After you install you can run opencv_createsamples [options]

    Manpage