Ask Your Question
0

How to use soft cascade in opencv 3

asked 2017-06-07 08:19:10 -0600

abc_123 gravatar image

I want to use soft cascade for its speed advantage . First I want to know in which version of opencv this class has been implemented? I couldn't find softcascade in opencv 3.2 windows pre-built version source codes. ( downloaded from here )

Second I wanted to know which file should I include in my c++ source code to use soft cascade? Is this in opencv2/objdetect/objdetect.hpp ?

And also is there any sample code for this class?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-06-07 08:26:32 -0600

It is not there. Parts were available in 2.4.x, they were buggy and not working properly, then a patent on softcascades arised and OpenCV removed it completely.

edit flag offensive delete link more

Comments

Thanks. So is there any way to make cascade classifier faster? Especially the detectMultiScale function.

abc_123 gravatar imageabc_123 ( 2017-06-09 23:58:37 -0600 )edit

Try to tweak your parameters like scale, scaleFactor and such. Also using TBB helps.

StevenPuttemans gravatar imageStevenPuttemans ( 2017-06-11 15:51:09 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-06-07 08:17:25 -0600

Seen: 393 times

Last updated: Jun 07 '17