Ask Your Question
0

Where to find opencv_createsamples.exe in windows

asked 2020-09-13 07:51:13 -0600

akash16 gravatar image

updated 2020-09-13 20:27:39 -0600

Hi,

I am new to opencv. I am using pycharm IDE to practice opencv using python. I have installed dlib, cmake and opencv-python in the IDE. Now, I am trying use haar cascade classifier to detect custom object. But I could not locate the opencv_createsample.exe file in my system. I am using wndows 10 64-bit OS.

I have installed opencv for python using "pip install opencv-python"

Where can I find the exe file in windows so that I can train opencv to detect custom object?

Any help would be appreciated. Thanks in advance!

edit retag flag offensive close merge delete

Comments

1

i advise you to try dlib first http://blog.dlib.net/2014/04/dlib-187...

sturkmen gravatar imagesturkmen ( 2020-09-14 00:32:03 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-09-14 02:19:42 -0600

berak gravatar image

the cascade training tools were removed from the 4.x branches (c-api dependancy)

you would need to rebuild the opencv 3.4 branch from src, pip is not at all helpful here (it does not care about c++ sources)

alternatively, you could try the 3.4.11 binary release, which still contains those progs.

but please be aware, that most ppl trying to train cascades are simply "wrong about it", and that it's not feasible to do so (e.g. variation in pose / texture / no texture at all)

maybe you should ask again here, and present, what kind of objects you try to detect, and what kind of images you have to train it, and we can help you with a better, more appropriate idea.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-09-13 07:47:41 -0600

Seen: 2,569 times

Last updated: Sep 14 '20