Skip to content
💳 Detecting the National Identification Cards with Faster R-CNN
Python
Branch: master
Clone or download

Latest commit

Latest commit b67a4a6 Mar 3, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data removed test utils Apr 19, 2019
model new model Apr 12, 2019
static update readme Apr 12, 2019
test_images (◕‿◕✿) Apr 19, 2019
utils Instantiate parameters to 0 Feb 12, 2020
.gitignore Initial commit Apr 12, 2019
LICENSE Initial commit Apr 12, 2019
README.md Update README.md Apr 28, 2019
id_card_detection_camera.py init Apr 12, 2019
id_card_detection_image.py Updating the cropper of the card in the image Feb 12, 2020
requirements.txt

README.md

Detecting the National Identification Cards

You can use this project to extract information DOB (name, surname, date of birth, etc.) on the identity card. To do this, I'm broke down the problem into sub-problems as below:

  • [this project] Identify Regions of Interest (ROI) containing the required information with deep learning
  • [this project] Crop the regions identified above
  • OCR on the identified region of interest

This project can do object detection + object classification + multiple object detection all at the same time.

Use case diagram

UseCase

Sample id cards

Sample 1 Sample 2 Sample 3
Old new licence

How to Run

tested on python 3x

Requirements

  • tensorflow
  • numpy
  • opencv

to install requirements

 pip3 install -r requirements.txt

Runs the application with the default webcam.

python3 id_card_detection_camera.py

Runs the application with the image file. Default image file "test_images/image1.jpg"

python3 id_card_detection_image.py

Result

result

You can’t perform that action at this time.