Hello,
The OpenALPR cloud service used to accept multiple countries but this is no longer possible.
The Cloud API only specifies a string field for the country which only accepts a single country.
Request URL:
https://api.openalpr.com/v2/recognize_bytes?secret_key=sk_DEMODEMODEMODEMO&recognize_vehicle=0&country=eu,gb&return_image=0&topn=10
I see the following response:
{"error_code": 400, "error": "Could not initialize OpenALPR with given parameters"}
Changing the request to only specify a single country (eu) allowed the request to work.
This is a recent change as I was testing about 2 weeks ago with multiple countries and it was working.
Please can you check the integration API is correct and update it accordingly: (https://github.com/openalpr/cloudapi/blob/master/javascript/src/api/DefaultApi.js)
- this still shows allowing multiple comma separated countries)
Best regards, Simon.
Hello,
The OpenALPR cloud service used to accept multiple countries but this is no longer possible.
The Cloud API only specifies a string field for the country which only accepts a single country.
Request URL:
https://api.openalpr.com/v2/recognize_bytes?secret_key=sk_DEMODEMODEMODEMO&recognize_vehicle=0&country=eu,gb&return_image=0&topn=10
I see the following response:
{"error_code": 400, "error": "Could not initialize OpenALPR with given parameters"}
Changing the request to only specify a single country (eu) allowed the request to work.
This is a recent change as I was testing about 2 weeks ago with multiple countries and it was working.
Please can you check the integration API is correct and update it accordingly: (https://github.com/openalpr/cloudapi/blob/master/javascript/src/api/DefaultApi.js)
Best regards, Simon.