Skip to content

cod3bug/PAN-Card-Image-Scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pan Card Image Scrapping using OpenCV and Pytesseract

This tool can scrap out Date Of Birth and Permanent Account Number(PAN) from the image of PAN card.

Image input format

The image file should have ".jpg" extension only and the image size must be less than 200Kb.

Setup and Installation

  • First clone this repository using :
git clone https://github.com/cod3bug/PAN-Card-Image-Scrapper.git
  • Install all the necessary packages :
pip install -r requirements.txt
  • For using Pytesseract you must have tesseract installed in your system(Windows, Linux, MacOS). To install it go through the official documentation in Tesseract. In, Ubuntu :
sudo apt-get install tesseract-ocr
  • Now, the only thing left to do is put all your images in pics folder and run the program.

The output should look like :

D.O.B of sample-pan-card.jpg : 01/06/1995 ; PAN Number of sample-pan-card.jpg : ABCDE1234F

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages