How to calculate the weight of haar-like features?

Home / Uncategorized / How to calculate the weight of haar-like features?

Question:
I’m trying to implement Viola-Jones algorithm. And I refer opencv docs, I found difference between the original algorithm and opencv.

Original Algorithm:
haar features = rect1 -rect2;

Opencv:
haar features = w1*rect1 – w2*rect2;

I have already known Adaboost algorithm. But I haven’t find the way of defining weight(w1,w2). Could anyone tell me that way or a good reference?


Answer:

Read more

Leave a Reply

Your email address will not be published. Required fields are marked *