This project is an ID card generator that creates random ID cards with personalized information such as name, gender, date of birth, and more. It uses the PIL library for image manipulation and the unique_names_generator library for generating random names.
- Generates random gender (male or female).
- Generates random date of birth within a specified age range.
- Generates random ID numbers.
- Creates ID cards with personalized information.
- Python 3.x
- PIL (Python Imaging Library)
- jproperties
- unique_names_generator
-
Clone the repository:
git clone https://github.com/yourusername/id-card-generator.git cd id-card-generator
-
Install the required dependencies:
pip install -r requirements.txt
-
Configure the application by updating the
application.properties
file with the required paths and settings.
Run the script to generate ID cards:
python image_generator.py
This will create 100 ID cards with random information and save them to the specified output path.
Update the application.properties
file with the paths and settings for fonts, image paths, and output location.
This project is licensed under the MIT License.