/DlicenceZxingParse

Parses Drivers Licenses using OpenCV and Trial and Error

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

PYTHON 3 SCRIPT REQUIRES PYTHON 3.8 ~ Download Here https://www.python.org/downloads/

INSTRUCTIONS ON USAGE

CALLING WITHIN THE GIVEN FOLDER Dlicence.py --image somelicence.jpg or png

Preconditions :

Upside Down

Licence is not Upside Down -

All Corners Visible

All four Corners are visible -

No Reflection

There is No reflection off the licence -

Use Cases

Centered Card with Good Lighting

Centered Card with Good Lighting

Rotated Card with Good Lighting

Rotated Card with Good Lighting

Takes license and uses OpenCV to Find a Barcode then crop to it

pip install -r requirements.txt

Read about it here

CODE USED IN THIS PROJECT

https://github.com/rechner/py-aamva # AAMVA PARSING FOR CANADIAN LICENCE

https://github.com/zxing/zxing # ZEBRA CROSSING BARCODE READER