Face Detection On Pi Camera Image Using OpenCV Python3 on Raspberry Pi

Face Detection On Pi Camera Image Using OpenCV Python3 on Raspberry Pi

Introduction

Image Processing is often referred to as 'Digital Image Processing' and the domain where it is commonly used is 'Computer Vision'. Make no mistake - we'll discuss these two terms and how they relate. Both the Image Processing algorithm and the Computer Vision (CV) algorithm take pictures as input; however, in image processing, the output is also an image, whereas in the computer vision output there can be some features/information about the image. There's one that we use the most, the Open CV library. In this video, we will use Haar Cascade to detect faces on the image captured by pi camera.

 

Video

This video shows how get a face detection on an pi camera image using OpenCV Python3 on Raspberry Pi.

Hardware Preparation

This is the list of items used in the video.

OR

OR

Sample Code

This is the sample code for this project.

Thank You

References:

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

"Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for a better application."