Pan Card Tampering Detection

Built Using

Python html-css-js Flask ScikitImage

Visit the Web Application deployed on render

About

This is a simple application to detect tampering of Pan Cards using Structural Similarity Index Measure (SSIM). It is used to measure similarity of two images. A Pan Card is tampered if it's SSIM value with original Pan Card template is low.

Original Pan Card template: https://www.thestatesman.com/wp-content/uploads/2019/07/pan-card.jpg

Tampered Pan Card Sample: https://assets1.cleartax-cdn.com/s/img/20170526124335/Pan4.png

See the implementation details with IPython Notebook

Getting Started

This Project is Built With Anaconda VSCode Render

Installation

To use the app on local machine, open Anaconda Prompt and run the following commands:

  1. Clone the Repository
git clone https://github.com/Pranav-Nagpure/Pan-Card-Tampering-Detection.git
  1. Change Working Directory
cd Pan-Card-Tampering-Detection
  1. If needed create a Virtual Environment and activate it
conda create -n environment_name python=3.10
conda activate environment_name
  1. Install the requirements
python -m pip install -r requirements.txt
  1. Run the App
python app.py
  1. Open the URL generated in a browser to use the App

  2. You can use images in the sample_images folder

(back to top)