Skip to content

MariBax/Face-masking-with-CV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face-masking-with-CV

Final Project on Computer Vision Skoltech course 2020

Goals

  • Attach masks to different parts of face on selfies, videos, in real-time
  • Make them move with a person
  • Add extra features depending on movements

step_0

CV algorithm

1. Keypoints detection

Keypoints detection: dlib pre-trained facial landmark detector (68 points). step_1

2. Affine transformation

step_2

3. Eye blink detection

step_3

4. Detecting eye circle

step_4

5. Opened mouth detection

step_5

Using movements

Eye blink: switch to angel (or devil)

step_6

Open mouth: put protective mask

step_7

Examples

step_8

Want to try?

Check out fast_guide.ipynb

Tools

  • Python 3
  • OpenCV
  • Keypoint detection: the cascade of regressors using dlib

About

CV Final Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •