Ask Your Question
0

Are there any ways to generate a HAAR cascade faster?

asked 2016-08-08 17:25:07 -0600

The current version of opencv train cascades seems to be single threaded other than precalculation steps and very very slow.

I'm wondering if: a) there's any GPU accelerated version of opencv_traincascade. b) if there isn't, is there a documented version or some pseudocode for it, I could try to parallelize it myself. c) is using HAAR cascade worth it? Do they even perform well in non-faces? I'm using this for street signs and differentiating between different types and there's a lot of incorrect classification. d) if it's not worth it, what would be better for classifying images and more importantly, searching for a subset of the image that matches it. e) general HAAR cascade question: why does the cascade provided with opencv for faces capture the entire face while one I generate only gets the size of the cascade? I checked and the cascade provided is only 24x24. Why does detect multi scale show the right scales for only the default face detection system?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-03-06 04:06:18 -0600

Joshitha gravatar image

I found this Blog helpful:

Amin Ahmadi

But the xml file created at the end of the process does not work with our Python codes.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-08-08 17:25:07 -0600

Seen: 590 times

Last updated: Mar 06 '18