This script lets you read the data read from the camera and receive the package of data in JSON; for more information, go to https://github.com/stefanvangastel/openalpr-php-rest-api for your reference.
This is the JSON with data:
{ "data": { "version": 2, "data_type": "alpr_results", "epoch_time": -1348550864, "img_width": 636, "img_height": 358, "processing_time_ms": 61.695, "regions_of_interest": [ { "x": 0, "y": 0, "width": 636, "height": 358 } ], "results": [ { "plate": "56ZFDL", "confidence": 93.35331, "matches_template": 0, "plate_index": 0, "region": "", "region_confidence": 0, "processing_time_ms": 15.263, "requested_topn": -2084378561, "coordinates": [ { "x": 243, "y": 225 }, { "x": 396, "y": 227 }, { "x": 396, "y": 257 }, { "x": 243, "y": 255 } ], "candidates": [ { "plate": "56ZFDL", "confidence": 93.35331, "matches_template": 0 }, { "plate": "S6ZFDL", "confidence": 85.164574, "matches_template": 0 }, { "plate": "56ZF0L", "confidence": 84.503777, "matches_template": 0 }, { "plate": "56ZFOL", "confidence": 83.140244, "matches_template": 0 }, { "plate": "B6ZFDL", "confidence": 81.62719, "matches_template": 0 }, { "plate": "6ZFDL", "confidence": 79.280426, "matches_template": 0 }, { "plate": "S6ZF0L", "confidence": 76.315041, "matches_template": 0 }, { "plate": "S6ZFOL", "confidence": 74.951508, "matches_template": 0 }, { "plate": "B6ZF0L", "confidence": 72.777657, "matches_template": 0 }, { "plate": "B6ZFOL", "confidence": 71.414124, "matches_template": 0 } ] } ] } }