ANPR + MMR Demo
REST API
Register new developer
The registration is needed for using REST API. Type your email address and you will obtain a password.
Warning: This is a demo application intended for trial and testing purposes only. It is not intended for any production or commercial use. The operator may apply limitations to the volume of data processed. Continuous availability of the service is not guaranteed. The server may be unavailable during maintenance.
REST API Documentation
REST Interafce
API uses REST-like interface. This means that all calls to the API are made over the Internet, using HTTP POST requests to the API server (https://cloud.eyedea.cz/api/v2/mmrdetect). Any programming language that can be used to communicate over HTTP can be used for client-side implementations.
Responses are returned in JSON format.
usage notes:All coordinates and sizes are provided in pixels.
The maximum image size you can treat with is 20MB.
Download python api clientGet server system info | |||||||
URL | /v2/serverSystemInfo | HTTP Method | POST | ||||
---|---|---|---|---|---|---|---|
Consumes Media Type | - | Produces Media Type | application/json | ||||
URL Parameters | - | ||||||
CURL Command Example |
curl -X POST -F "email=your_email" -F "password=your_password" https://cloud.eyedea.cz/api/v2/serverSystemInfo | ||||||
Data Parameters |
email - the email provided by user during registration password - the user's password obtained after registration. | ||||||
Example Response |
Success
|
Detect license plates in image and get results for ANPR and MMR | ||||||||||
URL | /api/v2/mmrdetect | HTTP Method | POST | |||||||
---|---|---|---|---|---|---|---|---|---|---|
Consumes Media Type | multipart/form-data | Produces Media Type | application/json | |||||||
URL Parameters | - | |||||||||
Data Parameters |
email - the email provided by user during registration password - the user's password obtained after registration. file - form data parameter containing input image. lpDetection - (optional) form data parameter containing JSON with license plate positions (for MMR computation only). Input parameter lpDetection contains the JSON string defining the array containing the positions of the license plates in the input image. Structure Center, angle, scale is used to define the position of the license plate in the image. Note: If the parameter lpDetection is used, automatic detection and ANPR will not run during the input image processing. WARNING: The scale defines the real size of the license plate in the image and does not take into account the margin added by the detector.
| |||||||||
CURL Command Example |
Use automatic detection: curl -X POST -H "Content-Type: multipart/form-data" -F "file=@image.jpg" -F "email=your_email" -F "password=your_password" https://cloud.eyedea.cz/api/v2/mmrdetect Detections in JSON string: curl -X POST -H "Content-Type: multipart/form-data" -F "file=@image.jpg" -F "email=your_email" -F "password=your_password" -F "lpDetection=[{\"center\":{\"x\":176.5,\"y\":362.0},\"angle\":-5.1,\"scalePPM\":214.3}]" https://cloud.eyedea.cz/api/v2/mmrdetect Notes:
| |||||||||
Response Codes |
SuccessExample Content:
|
Error
|