openalpr / train-detector

Input files and scripts necessary to train the license plate detector.
GNU Affero General Public License v3.0
125 stars 166 forks source link

cascade.xml not working #21

Open arsalan993 opened 7 years ago

arsalan993 commented 7 years ago

i successfully generated the cascade.xml file , rename it to eu2 and placed it in proper folder but using python i am unable to load the eu2.xml file , while .xml files where are present by default are loaded successfully and are working correctly.. i am using windows and opencv3. while openALPR versions is 3.3.1

arsalan993 commented 7 years ago

How can i generate files present in conf and postprocess folder

zhouhao27 commented 6 years ago

You have to point to eu2.xml in your .conf file. The key is:

multiline = 1

char_height_mm = 70
char_width_mm = 50

char_height_mm = 70
char_width_mm = 50

detector_file = eu2.xml

For me, I never change anything in postprocess folder. And I'm not sure whether I need to change it for multiple line vehicle plate or not.