openalpr-android
openalpr-android copied to clipboard
My app is always going in "it was not possible to detect the license plate"
Did you follow the configuration steps?
Same for me I even test the demo app :( any suggestions ? Device is Samsung S5
Did you test the apk available in the releases tab?
I did and it works so fare with this numberplate https://fiu-assets-2-syitaetz61hl2sa.stackpathdns.com/static/use-media-items/22/21303/full-1462x736/569736f3/ca2011-2.jpeg?resolution=0
But I have a Problem with this number plates even if I change the region to EU https://hsvcmsroot-v.azureedge.net/fileadmin/user_upload/Bilder_HSV.de/Bundesliga/Verein/Nummernschild901x427.jpg
or
http://kreutzundquer.de/wp-content/uploads/2014/11/fun.jpg
Can you please past here the code you change?
I changed the code recognizeWithCountryRegionNConfig("us", "", image.getAbsolutePath(), openAlprConfFile, 10);
To
recognizeWithCountryRegionNConfig("eu", "", image.getAbsolutePath(), openAlprConfFile, 10);
So only the parameter us to eu do you have any suggestions ?
@IPrototypeI Can you try taking the picture in landscape mode. For me, it only does recognition on landscape pictures and not on portrait. @SandroMachado Is this by design? Is it possible for the app to recognize plates from portrait images by changing the config file? Thanks
@umair-io @IPrototypeI If the issue is only while taking pictures in portrait mode for you, there is a known bug with the MediaStore.ACTION_IMAGE_CAPTURE on some devices where the image is rotated after being taken. If an image is rotated incorrectly before being fed into OpenALPR, you will not get proper results back.