How to get 'opencv_createsamples' and other apps for Haar [closed]
Hi, does anyone know how I can get the apps listed below after I've already downloaded OpenCV?
Needed apps: opencv_createsamples, opencv_annotation, opencv_traincascade and opencv_visualisation
os ? opencv version ? from where ?
Sorry, it's version 3.6.4 for windows. I'm programming in Python.
that's unfortunate, as you will have to rebuild opencv from (c++) src, with
cmake -DBUILD_opencv_apps=ON
what are you trying to detect ? using which data ? why haar cascades ?
(80% of all cases it turns out, that ppl have wrong expectations here)
Hi Berak, thanks for your help. I'm wanting to detect a softball for women's fast-pitch. His Haar right for my case? If so, would you be able to point me to a tutorial on re-installing opencv using the method you suggest? I think I mentioned I'm using Python; is C++ really necessary? Thanks again!
probably not. (no reliable texture or pose). but that's where YOUR research should start. and if you have no idea, ppl can and will tell you any bs.
to build opencv / the tools, -- yes, ofc. but again, you won't need them, because your idea is most likely broken anyway.
-1 for not doing the maths first. how fast is your ball, how many fps will you need to seperate positions (nyquist) ? what do you plan to do about blur ?
you seem ill - prepared for this.
Hi Berak, the speed of the ball is about 60MPH, so 30 FPS should be able to capture many images. My plan is to use these images to create the positive data-set, so blur will be automatically incorporated (I assume). What are your thoughts? Also, after I rebuild OpenCV in C++, will I still be able to write my programs in Python? Thanks again for all the help!
to understand the classifier, -- please have another look at the images here. i don't think, you have anything, those boxes can hook into reliably. (pose, too !)
it'll also be far too slow, ti run even at 5fps, sorry to say that.
again, please consider taking a course or reading books about computer-vision.
It's OK if it's slow; I don't need it to find the ball real-time. Can you recommend a procedure or tutorial for re-installing openCV as you suggested? Thanks again, Berak!!