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;
Beginner tutorial on tensorflow
Tensorflow object detection API Tutorial
pip install --ignore-installed --upgrade tensorflow-gpu