Reputation: 1
So I've been working on machine learning projects, and needed to train a custom dataset using opencv_traincascade. but whenever i tried installing it, it would never work. I got other things like opencv_annotation and stuff to work, but traincascade or event createsamples wouldnt work. Do i have to manually build these?
I downloaded mingw-gcc, cmake and couldnt find a feasible solution online. I have opencv 4.9.0 by the way, installed both on anaconda and in my C: drive manually. I have tried looking for some third parties too, who had the entirety of opencv installed and could be replicated, but no luck. Any help would be severely appreciated, thank you!
Upvotes: -2
Views: 265
Reputation: 352
opencv_traincascade has been removed since version 4.x, so you have to use opencv version 3.4.x to have opencv_traincascade.
You can use this guide to install opencv_createsamples and opencv_traincascade.
References:
Upvotes: 0