OpenCV face detection w/dnn based profile card generator.
OpenCV face detection w/dnn based profile card generator.
The script assumes that the image files are named in the following manner
firstname_lastname-designation_title.ext
Example:
Jared_dunn-chief_operating_officer.jpg
_Note: The name of the file is case insensitive as I have taken care of it in the script.
Supported file formats are png, jpg & jpeg._
python generate_profiles.py -i some_directory\firstname_lastnames-designation.png
or
python generate_profiles.py --all
This will run the script for all the files in the same directory as the script.
_Disclaimer: I do not own any of the images, these are downloaded via a search through google images.
Pied Piper logo and the name are owned by HBO._
Script reference credits : PyImageSearch
Card tempelate & background credit : Designed by Freepik