Can i use Cascade Classifier commercially?

Hi, I’m lost between licenses, I’ve read a lot about it, but I’m still confused. Sorry, I don’t know if this is the right place for these questions.

Can I use .xml files, such as “haarcascade_eye.xml”, in a commercial project?
Thanks.

both allow it, but under some conditions.

I am not a lawyer. this is not legal advice. have a lawyer specialized in software licenses deal with this.