OpenPark solution is provided as a cloud service so that the Gate operator do not have to buy expensive hardware and software assets in order to manage his gates whether as a parking operator or facility manager.
Web service LPR API
To use our LPR engine inside your own application you can use the ALPR service as below details. Please contact us to get access to our test API web service.
POST Parameters for WebService
Parameters | Type | Description |
snapshot | base64_encode | Image of car that contains license plate |
WebService Output In JSON Format
Parameter | Type | Description |
PK | Integer | Event ID |
TRX_DATE | Timestamp | Transaction date of inserted record |
Plate_No | String | License Plate Recognition Number |
Example code in PHP:
- // Service URL
- $url = “http://35.232.227.161/ALPR.php”;
- // Parameters
- $params = array(“snapshot” => base64_encode(file_get_contents(“D:/ftp_cam1/_snapshot.jpg”)),”type” => “photo”); // Replace image name
- $resource = curl_init(); // Calling of the URL
- curl_setopt($resource, CURLOPT_URL, $url);
- curl_setopt($resource, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($resource, CURLOPT_POST, 1);
- curl_setopt($resource, CURLOPT_POSTFIELDS, $params); // Adding parameters in POST field
- echo curl_exec($resource); // Execute