MicrocontrollersAndMore / OpenCV_3_License_Plate_Recognition_Python

https://www.youtube.com/watch?v=fJcl6Gw1D8k
525 stars 317 forks source link

Moroccan License plate #11

Open AouatifHm opened 5 years ago

AouatifHm commented 5 years ago

Hello everybody, I need your help!! I wan't to read moroccan license plates using this code, When I run Main.py I notice that the arabic letter in middle isn't detected, what is the problem? test1

AouatifHm commented 5 years ago

And pleaase, could someone explain me the meaning of each constant:

MIN_PIXEL_WIDTH = 2 MIN_PIXEL_HEIGHT = 8 MIN_ASPECT_RATIO = 0.25 MAX_ASPECT_RATIO = 1.0 MIN_PIXEL_AREA = 80 MIN_DIAG_SIZE_MULTIPLE_AWAY = 0.3 MAX_DIAG_SIZE_MULTIPLE_AWAY = 5.0 MAX_CHANGE_IN_AREA = 0.5 MAX_CHANGE_IN_WIDTH = 0.8 MAX_CHANGE_IN_HEIGHT = 0.2 MAX_ANGLE_BETWEEN_CHARS = 12.0 MIN_NUMBER_OF_MATCHING_CHARS = 3 RESIZED_CHAR_IMAGE_WIDTH = 20 RESIZED_CHAR_IMAGE_HEIGHT = 30 MIN_CONTOUR_AREA = 100

aaronmyhre commented 5 years ago

Hey -

  1. So I don’t think the dataset for the character recognition includes Arabic chars. You will have to find a new dataset that includes those and train the model on that
  2. Those Params are used to control the code that finds characters on the license plate. They set the min/ max size, aspect ratio, etc. you will have to walk though the code to understand how each is used. On Mon, Sep 24, 2018 at 8:21 AM A_HM notifications@github.com wrote:

And pleaase, could someone explain me the meaning of each constant:

MIN_PIXEL_WIDTH = 2 MIN_PIXEL_HEIGHT = 8 MIN_ASPECT_RATIO = 0.25 MAX_ASPECT_RATIO = 1.0 MIN_PIXEL_AREA = 80 MIN_DIAG_SIZE_MULTIPLE_AWAY = 0.3 MAX_DIAG_SIZE_MULTIPLE_AWAY = 5.0 MAX_CHANGE_IN_AREA = 0.5 MAX_CHANGE_IN_WIDTH = 0.8 MAX_CHANGE_IN_HEIGHT = 0.2 MAX_ANGLE_BETWEEN_CHARS = 12.0 MIN_NUMBER_OF_MATCHING_CHARS = 3 RESIZED_CHAR_IMAGE_WIDTH = 20 RESIZED_CHAR_IMAGE_HEIGHT = 30 MIN_CONTOUR_AREA = 100

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MicrocontrollersAndMore/OpenCV_3_License_Plate_Recognition_Python/issues/11#issuecomment-424013575, or mute the thread https://github.com/notifications/unsubscribe-auth/ACtOugehZ1Qmpl6Ed_G0XHtmZeuJWo7wks5uePhzgaJpZM4W23RN .

zongoalbert commented 4 years ago

HI @AouatifHm I have the some problem did you found the solution ?

zongoalbert commented 4 years ago

hi AouatifHm do you have a solution please?