Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.88 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.88 KB

Add Mask On Human Face


Face Detection | Face Landmark Detection | Image Resizing | Image Thresholding etc..


Image contains lot of information. So, processing image is quite tricky but it can be very fun as well. One method of processing images is via face detection. Face detection is a branch of image processing that uses machine learning to detect faces in images.

Dlib's shape detection method allows us to locate certain part in an image. In this tutorial, you will learn to detect certain part of an image using DLIB and use OpenCV to mask an different image on the detected portion of the parent image. OpenCV is an open-source programming library that is used to process images.

Environment Set Up

Make sure to have below libraries installed in your system -

  1. OpenCV
  2. DLIB
  3. Matplotlib

Note: You can get the shape_predictor_68_face_landmarks.dat trained model file from here.

Next, Download the entire add_mask_on_face repository into your local system. Keep the shape_predictor_68_face_landmarks.dat file inside the root folder. Now You are all set to run your experiment.




Happy Learning 👍

Connect with me:

ArupDutta | TAU ArupDutta | LinkedIn ArupDutta | Instagram