Introduction: Python Code for Showing Image Over Face Like Mustache ,goggles

About: Hi , I am a Maker-Space Educator .I love to design thing and make things using tools like electronics,papercraft,3d printing,etc.which are parts of makerspace.

Dear Learners,


This is all about python and OpenCV. In this program we are simply placing image over the face to make some meaning just like the filters in Instagram's you may have seen .

Every Material has been provided below to keep things simple and short .


Happy Learning !!

Regards,

Ajay Singh

Step 1: Setup

To perform this Experiment you will require the following steps.

  • Install python
  • Install OpenCV
  • Install NumPy
  • Install Imutils

Just search on google and you will file the installation files or you can refer to my another instructuables of face detection.

Step 2: Codes Need to Download

Please download all the files and keep it in the same folder. and follow these steps :

  • Open Idle and from there open the face_detection.py code
  • change the name of the png file to display on the face .
  • run by pressing f5 and wait for sometime to see the output .

To see the full video how to work on it you can look at this video:

https://www.youtube.com/watch?v=XNRZLK-MpRI

Hope everything is fine and working for you .

bye and have a Great Day.