- Clone the project and install deps
$ pip install -r requirements.txt
- Export the names to a csv file
There is a sample csv file in the code
Use the same format to export invitation list. This can be easily done via google sheets
The columns are;
- Name - The name of the invitee
- Gender - Gender of the invitee. This is used to detect the correct cut-off value. Currently accepted values are -
m
,f
,b
- Group - Exported images can be grouped by this id
- Add the base invitation file to the project root as
invitation.png
If the file is in jpeg
or jpg
formats, modify the filename in here accordingly
- Caliberate the offsets
The invitation file should have a field to be filled with the name of the invitee, similar to the following screenshot
Update the following offset values to match the above name field
This can be easily done by adding a random value and then slowly moving it to the correct coordinates