Skip to content

Webpage to demonstrate the use of OpenCV with Python to put images over selected regions of pictures based on face detection.

Notifications You must be signed in to change notification settings

MikeOrange/myfacelayout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyFaceOverlay

Webpage to demonstrate the use of OpenCV with Python to put images over selected regions of pictures based on face detection. Code based on the tutorials and examples provided by OpenCV docs and the great example at Sublime Robots

Install and run

  • Install and activate virtualenv
  • Install OpenCV on the virtualenv. Use this very detailed tutorial as a guide if you are working in Ubuntu.
  • Install backend requirements on the virtualenv
$ pip install -r requirements.txt
  • Run project
  • Run project
$ python runserver.py

Environment variables

export MYFACEOVERLAY_SECRET_KEY=Random secret key for csrf usage
export MYFACEOVERLAY_UPLOADS_FOLDER=Absolute path of the uploads folder to be used (preferably outside the projects root)

Links

Template based on freelancer by startbootstrap

Preview

About

Webpage to demonstrate the use of OpenCV with Python to put images over selected regions of pictures based on face detection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published