Skip to content

A python+cv2 command line utility to detect faces and replace them

Notifications You must be signed in to change notification settings

rnbwdsh/facefilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Copy img/ + haarcascade + faec.py file somewhere (like /opt/face)

Install with sudo ln -s <absolute-path-of-face.py> /usr/bin/face

Usage

face a.jpg b.jpg -> will create _a.jpg, _b.jpg

Modify scaleFactor=1.2 for stronger/weaker face detection

Add/remove images from img folder

Requirements

  • opencv2
  • cv2-python bindings
  • PIL or Pillow

Demo

before after after

About

A python+cv2 command line utility to detect faces and replace them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages