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

Latest commit

Latest commit b67a4a6 Mar 3, 2020


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 Update Apr 28, 2019 init Apr 12, 2019 Updating the cropper of the card in the image Feb 12, 2020

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


Sample id cards

Sample 1 Sample 2 Sample 3
Old new licence

How to Run

tested on python 3x


  • tensorflow
  • numpy
  • opencv

to install requirements

 pip3 install -r requirements.txt

Runs the application with the default webcam.


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




You can’t perform that action at this time.