Skip to content

PAN card detection web app that analyzes uploaded card images, identifies tampering or inconsistencies, and highlights suspicious regions. Uses computer vision and OCR to assist in quick, reliable PAN verification for security, KYC, and fraud prevention.

Notifications You must be signed in to change notification settings

rivu-intel45/pan-card-authentication-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ†” PAN Card Detection

PAN Card Detection is a web application that analyzes uploaded PAN images, identifies tampering or inconsistencies, and flags suspicious regions. It helps automate KYC verification, reduce fraud, and ensure secure identity verification workflows.

๐Ÿ“Š Overview

This Flask-based application uses computer vision techniques to:

  • Detect and validate PAN card images
  • Identify tampering, forgery, or quality issues
  • Highlight suspicious regions in the card
  • Assist in quick, reliable document verification for security and compliance

๐ŸŽฎ How to Use

  1. Upload a PAN Card Image
    Click the upload button and select a PAN card photo (JPG/PNG)

  2. View Detection Results
    The app analyzes the image and displays:

    • Original card image
    • Detected tampering regions (highlighted)
    • Confidence score
    • Verification status
  3. Review Findings
    Check authenticity indicators and decide whether to accept or reject the card


โš™๏ธ Installation & Setup

Prerequisites

  • Python 3.8 or higher
  • pip (Python package manager)

Step 1: Clone the Repository

-git clone https://github.com/rivu-intel45/pan-card-authentication-app.git

Step 2: Install Dependencies

-pip install -r requirements.txt

Step 3: Run the Application

The app will start on http://localhost:5000


๐Ÿ“ฆ Tech Stack

  • Flask - Web framework
  • OpenCV - Image processing & computer vision
  • NumPy - Numerical computations
  • Pillow - Image manipulation
  • Scikit-Image - Advanced image analysis

๐Ÿ“ Project Structure

-pan-card-detection/ โ”œโ”€โ”€ app.py # Main Flask application โ”œโ”€โ”€ config.py # Configuration settings โ”œโ”€โ”€ pan_card_detection.py # Core detection logic โ”œโ”€โ”€ requirements.txt # Python dependencies โ”œโ”€โ”€ templates/ # HTML templates โ”œโ”€โ”€ static/ # CSS, JS, images โ””โ”€โ”€ README.md # This file


๐Ÿ”’ Features

โœ… Image Upload & Validation
โœ… Tampering Detection
โœ… Region Highlighting
โœ… Confidence Scoring
โœ… Real-time Processing
โœ… User-friendly Interface


๐Ÿš€ Future Enhancements

  • QR code verification integration
  • PAN 2.0 database verification

๐Ÿ’ก Contributing

Contributions are welcome! Feel free to fork, submit issues, or make pull requests.


Happy verifying! ๐ŸŽ‰

About

PAN card detection web app that analyzes uploaded card images, identifies tampering or inconsistencies, and highlights suspicious regions. Uses computer vision and OCR to assist in quick, reliable PAN verification for security, KYC, and fraud prevention.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages