Ask Your Question

Cascade Classifier in commercial app

asked 2012-11-24 07:56:43 -0500

CS gravatar image


I have a question regarding "Haar Feature-based Cascade Classifier for Object Detection". Is it possible to use CascadeClassifier class in closed code and commercial project (e.g. CascadeClassifier::detectMultiScale function), including haarcascade_*.xml files distributed with OpenCV? Is it free for commercial use? I mean, no patent restrictions, etc.? This is not clearly explained anywhere. Please, give some feedback on that issue.

Thanks in advance!

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2012-11-26 04:15:47 -0500

Mahdi gravatar image

Hi, from opencv homepage:

OpenCV is released under a BSD license and hence it’s free for both academic and commercial use.

edit flag offensive delete link more

answered 2012-11-26 08:11:45 -0500

sanok gravatar image

It depends on country. Despite OpenCV itself is under BSD licence, some algorithms are patented hence there are limitation on using it in countries where algorithms can be patented (USA for example).

But Haar Feature-based Cascade Classifier seems to be free everywhere.

See for example:

edit flag offensive delete link more


Thanks. So all other algorithms (except those from non-free module) are free to use in academic and commercial applications? So the library itself is not whole BSD licensed?

I would like to use Haar Feature-based Cascade Classifier in my application as a base for other transformations. Those pre-trained files distributed with OpenCV work good for me, and I don't want to "reinvent the wheel" if I could just use them.

CS gravatar imageCS ( 2012-11-27 12:35:41 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2012-11-24 07:56:43 -0500

Seen: 2,684 times

Last updated: Nov 26 '12