This project is a Python-based application for creating ID cards. It allows users to input their details and generates a professional-looking ID card in image format. These batches of images can be further be bundled into a PDF file for printing.
This was created as a part of Maa Tara Seva Samiti's initiative to provide ID cards to its members, which I was a part of. This helped in automating the process of creating ID cards for the members.
- User-friendly Gradio interface
- Customizable templates
- ID card management
- Ready to print PDF outputs
- Python 3.11 or higher
- See requirements.txt for libraries
- Clone the repository:
git clone https://github.com/ankitsm08/id-card-maker.git
- Navigate to the project directory:
cd id-card-maker - Create virtual environment:
python -m venv venv
- Activate the virtual environment:
On Windows:
On macOS and Linux:
venv\Scripts\activate
source venv/bin/activate - Install the required dependencies:
pip install -r requirements.txt
- Navigate to the project directory.
- Activate the virtual environment: See step 4 in the Installation section.
- Run the application:
python main.py
- Follow the on-screen instructions to input your details.
- The generated ID card will be saved in the
outputdirectory.
Contributions are welcome! Please fork the repository and submit a pull request.
Raising issues for bug fixes and feature requests is also appreciated.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or suggestions, please open an issue.