Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Face Detection

Detect your face and count the number of faces

Modules Used

  • opencv

How it works

  • First you have to go to the desired location where your py file is
  • Then type python face-detect.py in the command prompt or terminal
  • Then it will convert your live video frame by frame into grayscale
  • Then it will detect your face using the front face cascade xml file
  • Then you could see green rectangle boxes appearing which is detecting your face
  • The number of live faces are also showing