Skip to content

💳 Detecting the National Identification Cards with Deep Learning (Faster R-CNN)

License

Notifications You must be signed in to change notification settings

aqua-regia/id-card-detector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

###For Developers

  • Version bump bumpversion --current-version 1.2.0 minor setup.py

  • Publishing to PyPi

    1.python setup.py sdist

    2.twine upload dist/* --verbose

About

💳 Detecting the National Identification Cards with Deep Learning (Faster R-CNN)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%