A simple Python application that generates a custom QR code for my LinkedIn profile with a personalized logo.
This project creates a QR code that links to my LinkedIn profile. When someone scans it with their phone camera, it takes them directly to my profile - no typing needed!
I wanted to learn how to work with different python libraries and create an interactive project.
- Generates a scannable QR code with my LinkedIn profile URL
- Adds my custom logo to the center of the QR code
- Displays the QR code in a simple GUI window
- Saves the QR code as an image file
- Python 3.x
- qrcode - For generating QR codes
- Pillow (PIL) - For image processing and adding the logo
- tkinter - For creating the graphical user interface
-
Make sure you have Python installed
-
Install required packages:
pip install qrcode pillow pyzbar
-
Place your logo image as
logo.pngin the same folder -
Run the script:
python qr_scanner.py
- How to generate QR codes programmatically
- Working with images in Python using PIL
- Creating basic GUIs with tkinter
- Handling file paths and image manipulation
- Error correction in QR codes (important when adding logos!)
I'm still learning, but here are some features I'd like to add:
- Let users input their own LinkedIn URL
- Choice of different color schemes
- Generate QR codes for other things (WiFi passwords, contact info, etc.)
- Save multiple QR codes with different designs
- File path issues: Had trouble with Python finding the logo file in the right directory - learned about working directories and absolute paths
- QR code scanning: First versions had logos that were too big and blocked the QR code from being readable
- Image formatting: Learning how to properly resize and paste images with transparency
This is one of my first Python projects, so the code might not be perfect. I'm open to feedback and suggestions! Currently learning more about Python through online courses and planning to improve this project as I learn more.
If you'd like to connect or have suggestions for improvements:
- LinkedIn: linkedin.com/in/arnavsalgarkar
- Or just scan the QR code this program generates! 😄
Project created as part of my learning journey in Python development