Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.63 KB

README.md

File metadata and controls

39 lines (32 loc) · 1.63 KB

Silicard

OpenCV face detection w/dnn based profile card generator.

Before

Profile Tempelate Image

Sample Photos

Sample Photo with a phase with proper naming convention Sample Photo with a phase with proper naming convention

After

Generated profile image Generated profile image

File naming convention:

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.

Usage:

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