openalpr / openalpr

Automatic License Plate Recognition library
http://www.openalpr.com
GNU Affero General Public License v3.0
10.95k stars 2.49k forks source link

Brasil Plates (São Paulo) #750

Open usantos opened 5 years ago

usantos commented 5 years ago

I have this configuration in br.patterns to São Paulo Plates, but do not recognize some plates

sp @@@#### sp B[F-Z]@#### sp [C-F]@@#### sp G[A-J]@#### sp GK[A-I]#### sp SAV####

For Example:

carro6

Is there any other settings?

Thanks!

xtianhb commented 5 years ago

Maybe sp @@@?####

Have you read the debug output to check the character confidence analysis?

usantos commented 5 years ago

Maybe sp @@@?####

Have you read the debug output to check the character confidence analysis?

Yes, returns this debug info

prewarp skipped due to missing prewarp config No prewarp configuration specified ... Input detection image is too tall

Whats is prewarp?

usantos commented 5 years ago

Can you share your OpenAlpr.conf?

xtianhb commented 5 years ago

Prewarp is recommended when you have a fixed installation with a tilted camera. Doesn't matter now.

Check this. Edit br.conf in runtimedata/config/br.conf, and replace:

template_max_width_px = 150
template_max_height_px = 49

with

template_max_width_px = 100
template_max_height_px = 33

After that it should work.

usantos commented 5 years ago

I change to this value template_max_width_px = 100 template_max_height_px = 33 but still could not read the plate

some yes, others not, even at the same angle

bruno-siqueira-simples commented 5 years ago

Invalid pattern provided: br Valid patterns are located in the br.patterns file tive esse erro, reconheceu uma vez, mas depois começou dar isso :/

jovargas commented 5 years ago

Forget about the Regex + patterns feature in Brazil. Nothing but a waste of time. Read this: https://github.com/openalpr/openalpr/pull/736#issuecomment-423969799 All you can do is force the @@@#### pattern in YOUR postprocess code after OpenALPR results.

usantos commented 5 years ago

Invalid pattern provided: br Valid patterns are located in the br.patterns file tive esse erro, reconheceu uma vez, mas depois começou dar isso :/

Você usou a instalação reduzida ou a completa?

bruno-siqueira-simples commented 5 years ago

Invalid pattern provided: br Valid patterns are located in the br.patterns file tive esse erro, reconheceu uma vez, mas depois começou dar isso :/

Você usou a instalação reduzida ou a completa?

Usei a 'The Easy Way'. Interfere em algo ?

rafael-pereira-atman commented 3 years ago

Maybe sp @@@?####

Have you read the debug output to check the character confidence analysis?

What do I have to do to read the debug output?

tatuiot commented 3 years ago

You have to put the --debug option in the command. something like alpr --debug -c br plate.jpg