Previous page Next page
The POST request (see Search request) used for search start must contain the following JSON:
{ "plate": "mask" }
The plate parameter sets a search mask. The mask format corresponds to the one used in GUI (see LPR search).
Attention!
If the body of POST request is empty, then the search will return all the results for the recognized license plates.
Parameter | Required | Description |
---|---|---|
result_type | No | result_type=full means detailed response |
Sample request:
POST http://127.0.0.1:80/search/auto/SERVER1/AVDetector.2/EventSupplier/past/future?result_type=full or POST http://127.0.0.1:80/search/auto/SERVER1/AVDetector.2/EventSupplier/past/future
GET http://127.0.0.1:80/search/auto/2e69ba76-23f1-4d07-a812-fee86e994b8e/result
Sample response:
{ "origin": "hosts/SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0", "plates": [ "О035КО97" ], "position": { "bottom": 0.86805555555555558, "left": 0.31805555555555554, "right": 0.49027777777777776, "top": 0.81944444444444442 }, "timestamp": "20190912T105500.925000" }
Parameter | Description |
---|---|
origin | Camera channel to take analyzed video stream from |
timestamp | Time stamp of a frame with a license plate detected by the detection tool |
plates | List of supposed hypotheses |
position | Coordinates of the recognized LP frame |
Detailed response:
Sample request to receive events via Web-Socket:
ws://root:root@localhost/events?schema=proto
Parameter | Description |
---|---|
schema | schema=proto means detailed response |
Sample detailed response:
Parameter | Description |
---|---|
vehicleBrand | Vehicle manufacturer |
vehicleClass | Vehicle class |
vehicleColor | Vehicle color |
vehicleModel | Vehicle model |