This project is a powerful tool designed to extract Personally Identifiable Information (PII) from PDF documents and images, detect sensitive data, and generate visually engaging QR code cards for securely sharing this information.
- PII Extraction: Automatically detects PII such as Aadhaar details from both PDF files and images.
- QR Code Generation: Creates QR codes for securely sharing the extracted information or file URLs.
- Vibrant PII Cards: Generates visually appealing cards with PII details and a QR code, complete with rounded corners and stylish margins.
- Pinata Integration: Uploads images to IPFS via Pinata and retrieves a secure URL.
- Custom Styling: Supports vibrant text, customizable colors, and dynamic layouts for a professional appearance.
- Process Images: Extract text and detect PII from images using integrated modules.
- Upload to Pinata: Automatically upload files to IPFS and retrieve a secure link.
- Generate QR Code: Create a QR code linking to the secure URL or extracted PII data.
- Create PII Card: Combine the extracted data and QR code into a visually appealing card with customizable styles and vibrant colors.
- Python Libraries:
qrcode: For generating QR codes.Pillow: For creating and styling PII cards.PyPDF2: For extracting text from PDFs.requests: For uploading files to Pinata.
- IPFS & Pinata: For secure and decentralized file storage.
- Aadhaar Management: Securely share Aadhaar details with authorized personnel.
- Document Verification: Extract and verify PII from official documents.
- Secure Data Sharing: Use QR codes to securely share sensitive information without exposing it directly.
- Easily change the colors, fonts, and layout of the generated PII card.
- Adjust QR code placement and size for different use cases.
- Integrate additional PII detection modules as needed.
Follow the steps below to set up and run the project:
- Clone the repository:
git clone https://github.com/Rakesh-ada/PII-SYSTEM cd PII-SYSTEM - Install the required Python packages:
pip install -r requirements.txt
- Run the
main.pyscript to process files and generate PII cards:python main.py
Contributions are welcome! Feel free to open issues or submit pull requests to enhance functionality or fix bugs.
This project is licensed under the MIT License. See the LICENSE file for more details.
