bgizaa / passport-image-classifier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

passport-image-classifier

This project uses Tensorflow which is Google's Tensorflow's opensource library. I retrained one of their machine learning algorithms to classify real passport images and fradulent ones. This can be used for e-kyc technology for banks, airport checkups, sim-card registration etc.

Using the passport images from 15 different countries(mostly found online), I trained the model to detect "invalid" and "passport" with over 100,000 computations. The invalid category contains IDs other than passport such as national ID with or without MRZ reading, drivers licenses and specimen/fake passport files.

The classifier returns more than 90% probability for each of the test data tested. The document, “Sample Output” shows readings from 5 tests

The picture below shows the results of the accuracy of the model;

screenshot

Helpful Resources to retrain your own object-detection models

Beginner tutorial on tensorflow

Tensorflow object detection API Tutorial

Setting up

pip install --ignore-installed --upgrade tensorflow-gpu

About