开发者

What preprocessing image techniques should I take in consideration before applying OpenCV's Viola-Jones method for face detection?

开发者 https://www.devze.com 2022-12-19 06:18 出处:网络
I am working for a project at school regarding face detection, based on a technique described by Viola and Jones 2001/2004.

I am working for a project at school regarding face detection, based on a technique described by Viola and Jones 2001/2004.

I've read that the OpenCV has an implementation of this algorithm, and it works very good.

I was wondering if you have any advices regarding what techniques (pre-processing) to apply to the images before testing the 开发者_高级运维existence of a face (eg. histogram equalization) ?


I basically used the code from this sample program from the OpenCV page and it worked very well for my masters thesis project. If you get bad results or your lighting is strange you can try a histogram equalization.


with a friend I did something similar too for an university project, and especially on low resolution video sequences it really helped to upsample the frame, doubling its size. It was my friends' idea, who had previously taken an image processing class. Although equivalent, things like decreasing initial scan window size, horizontal and vertical steps didn't produce the same result. In other words it may be better to work on larger images with larger scan windows than on smaller with smaller scan windows. Don't know exactly why.

Bye ;-)


I know its too late. But do go through this site as well.

It speaks of the common pre-proccessing required for the images. Equalising the image, Editing irrelevant content etc

0

精彩评论

暂无评论...
验证码 换一张
取 消