Customize your bank card face.
Run command python3 app.py
and then open http://127.0.0.1:5000
, after input template name to your console, you can review your card or cut picture for card easily.
Run command python3 cardcus.py
to crop the image and format it for the bank card face.
$ python3 cardcus.py
Please enter the path to your image: ./images/raw.jpg
Successfully converted image to card format: ./images/output_raw.jpg
Specs follows:
- >= 350 dpi
- 88.5mm * 55.7mm
- jpg format
Poe@WebDeveloper_FSD.