#๐Ÿ”’ Validating license plate numbers

33 messages ยท Page 1 of 1 (latest)

outer pike
#

Any idea how to validate if license plate numbers are valid numbers?
Also make sure to notice that each country has different license plate system

warm bluffBOT
#

@outer pike

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

outer pike
#

im using yolo to find license plate location and than OCR to get the text from it

#

But i dont know how could i validate if extracted text is actually the license plate number and not some kind of additional info from license plate like country car dealership etc.

jagged saffron
outer pike
#

Also i dont need that precise data

#

I just need to know which string fits correct schema

#

But there are like few hundred schemas of license plates

#

Eg here, thats license plate after few contrast changes to get better result from OCR

#

And in console i get that license number and bunch of useless data for me

#

How to validate that 2COOL4U is actually that license plate

#

Here is base photo which was used for testing

#

Also im using easyocr as my OCR system

#

Any hints are welcome

jagged saffron
#

take a look

outer pike
minor beacon
#

validating the country/state is likely going to be the more difficult task than validating the plate

#

since you need to first know that this is a california plate

#

then you need to know the rules for california plates

minor beacon
#

I think this is just about an impossible task

outer pike
#

Need to have array/map with all possible combinations of countries

#

Maybe i should go with different aproach

#

Then validating number

jagged saffron
outer pike
#

So im opened for any potential hints or solutions

jagged saffron
warm bluffBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.