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 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
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)
Template based on freelancer by startbootstrap