-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not identify the area of the plate, which is the problem #22
Comments
Hello, in situations like these, the report generator can often help. You can run it from the executable jar we can see that it (incorrectly) fixates on the brake lights, instead of on the plate in such a sunny and bright image. One solution is to crop them out (see image on the right). JavaANPR then detects the plate "TSZ452" with a correct As to what you can do about it generally (without cropping) - you could try some pre-processing, for example lessening the brightness, normalizing the picture, etc... For example, using a threshold filter for brightness 250-255, I got the correct result: (not saying this is what you want to do in general, it depends on the camera, lighning, ...) |
Also, I think the plate in the second image is just too small for detection. |
Hi Oskoper thanks for you answer , I try to include for lessening the brightness this code: RescaleOp rescaleOp = new RescaleOp(1.2f, 15, null); And this fine is much better. Thanks. |
3 chars and 3 numbers seems ok, although there is no config in your comment. As to the OCR not working, yes, you probably will have to train a new alphabet, because the current one (in |
Hi How to train the a new alphabet ? I need replace the picture in .\resources\alphabets\alphabet_10x16_bw\i_10x16_bw.jpg ? |
Take a look at the bachelor thesis of the original author: It should be enough to put them in a similar directory and normalize them Best regards, Ondrej Skopek On Wed, Dec 30, 2015 at 1:18 PM, walterog19 [email protected]
|
Closing as wontfix. |
Please, do not cross post on old issues and into the mailing list - it won't help in getting your issue resolved quicker. Replied in #79. |
Hi I try to include the image but does not identify the area of the plate.
The text was updated successfully, but these errors were encountered: