Python Forum

Full Version: how to find difference between fake driving license or real using python?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how to find the difference between a fake driving license or a real one using python? We need to check the authenticity of ID, assuming the format remains the same for all DL of a particular state, we need to validate the format ( distance with 2 words, photo position, etc) to detect false/fake DL.
If you're having to ask quite a vague question like this, I suspect you don't really know much (anything?) about machine learning and specifically classification algorithms. If not, then likely that's too big an undertaking. Why do you need to do this?
Absolutely agree with the above. Would add - the way I would approach is get high res images of real and fake IDs from each of the states involved. You would need a lot of those images. Would then train a convolutional neural network on those images. I would do this separately for each state - likely to train more accurately. Be prepared that this will take a lot of computational time.
Hey, that's an interesting challenge! Validating the authenticity of a driver's license using Python sounds like a cool project. You could start by writing a script to analyze the format consistency across different IDs from the same state, checking things like photo positioning and text alignment.
Have you considered using tools like Idanalyzer's identity validation service? It could simplify the process by extracting and verifying data from IDs, ensuring they meet the expected format and are legitimate. It's worth exploring to enhance the accuracy of your project. Good luck with your Python coding adventure!
A combination of AI and OCR could do this. The AI does must be trained to check if the driving license is not a fake.
With OCR you could check if the data in the form is valid.

I guess the AI will produce false validation, if the form is not checked.
Can't you check in the Driving License computer if the driver number exists and corresponds with the name on the license? Hire car companies in Britain can check with the DVLR to see if you have any endorsements on your license.

A real license could also be "fake" in a certain sense: A friend of mine was in a pub in Birmingham. He met a guy who worked for the Driver and Vehicle Licensing Agency, which is a government department. If you paid the guy £100 he would have a license issued to you and you were qualified to drive anything!