6.The result

 You can also include classifiers for “eyes detection” or even “smile detection”. On those cases, you will include the classifier function and rectangle draw inside the face loop, because would be no sense to detect an eye or a smile outside of a face.

Note that on a Pi, having several classifiers at same code will slow the processing, once this method of detection (HaarCascades) uses a great amount of computational power. On a desktop, it is easer to run it.

Examples

On my GitHub you will find other examples:

And in the picture, you can see the result.

  • Happy Motion Detect


  • Surprise Motion Detect



Comments

Popular posts from this blog

3.Installing OpenCV Package

1.Face Detection