Open seanmack56 opened 6 years ago
I am getting same issue. can you please provide solution if you have? thanks.
I am also getting the same issue even with the example project with no changes. The app crashes whenever I take a picture of a license plate, but just gives me an error message if it's just a picture of a blank wall or something.
Hey, I tried to implement this into a project and i have had in issue with actually getting it to give me a value of what the license plates characters are. I get this when i debug for the value of result. result={"error":true,"msg":"Error initializing Open Alpr"}. I am not sure of what the issue is. I tried using your sample project and it reached the same issue. Attached is a screenshot of the code where this issue occurs. I know that i am not missing a file where I have already tried your version and received the same problem.![image](https://user-images.githubusercontent.com/39383003/40671515-7aed56ca-6342-11e8-911a-63bde80879ee.png)
The code in the photo for this method is as follows:
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == REQUEST_IMAGE && resultCode == Activity.RESULT_OK) { final ProgressDialog progress = ProgressDialog.show(this, "Loading", "Parsing result...", true); final String openAlprConfFile = ANDROID_DATA_DIR + File.separatorChar + "runtime_data" + File.separatorChar + "openalpr.conf"; BitmapFactory.Options options = new BitmapFactory.Options(); options.inSampleSize = 10;