When you send ALPR data to an HTTP server, you can configure the SharpV system to send the data in XML or JSON format.
JSON format sample:
The following is an example of a license plate read event in JSON format.
NOTE: The
binary image data has been removed from the example.
{ "ContextCameraName" : "Context Camera",
"ContextImage" : "",
"Id" : "32cf870a-46aa-4cfd-914b-00062d98e93a",
"Latitude" : 0.0,
"Longitude" : 0.0,
"LprCameraName" : "Lpr Camera",
"PlateAnalytics" : [ { "Key" : "State Name",
"Score" : -1.0,
"Value" : "-"
},
{ "Key" : "Vehicle Type",
"Score" : 1.0,
"Value" : "-"
},
{ "Key" : "Relative Motion",
"Score" : -1.0,
"Value" : "-"
},
{ "Key" : "Context",
"Score" : 1.0,
"Value" : "US"
},
{ "Key" : "Characters Height",
"Score" : 1.0,
"Value" : "70"
}
],
"PlateImage" : "",
"PlateRead" : "AA7D2",
"SourceUrl" : "SHARPV12345",
"Timestamp" : "2016-08-29T08:42:45.797"
}
XML format sample:
The following is an example of a license plate read event in XML format.
NOTE: The binary
image data has been removed from the example.
<Plate>
<ContextCameraName>Context Camera</ContextCameraName>
<ContextImage/>
<Id>32cf870a-46aa-4cfd-914b-00062d98e93a</Id>
<Latitude>0.0</Latitude>
<Longitude>0.0</Longitude>
<LprCameraName>Lpr Camera</LprCameraName>
<PlateAnalytics>
<PlateAnalytics>
<Key>State Name</Key>
<Score>-1.0</Score>
<Value>-</Value>
</PlateAnalytics>
<PlateAnalytics>
<Key>Confidence Score</Key>
<Score>1</Score>
<Value>100</Value>
</PlateAnalytics>
</PlateAnalytics>
<PlateImage/>
<PlateRead>AA7D2</PlateRead>
<SourceUrl>SHARPV12345</SourceUrl>
<Timestamp>2016-10-21T21:35:04.8627622+00:00</Timestamp>
</Plate>
Plate read event parameters
The following parameters are included in JSON and XML files that are exported to the HTTP server:
Parameter | Value type | Description |
---|---|---|
ContextCameraName | String | Name of the color context camera that generated the read event. NOTE: Information on context cameras is not applicable to SharpV ITS
cameras.
|
ContextImage | Binary | Color context image of the scene. Base64 encoded JPEG image. NOTE: Information on context images is not applicable to SharpV ITS
cameras.
|
Id | Guid | Unique identifier for the read event. |
Latitude | Double | Decimal latitude of the SharpV camera. |
Longitude | Double | Decimal longitude of the SharpV camera. |
LprCameraName | String | Name of the license plate recognition camera that generated the read event. |
PlateAnalytics | Array of analytics | Each analytic object is composed of a data triplet. This array is of variable size. The amount of analytic objects received depends on the SharpV camera’s configuration. |
Key (analytic triplet) | String | Name of the analytic. |
Score (analytic triplet) | Float (-1.0 or 1.0) |
Indicates if the analytic value is reliable (1.0) or not (-1.0). |
Value (analytic triplet) | String | Value of the analytic. |
PlateImage | Binary | Black and white cropped license plate image. Base64 encoded JPEG image. |
PlateRead | String | Detected license plate number. |
SourceUrl | String | Unique name of the SharpV camera. |
Timestamp | DateTime | Date and time of the read event (UTC) in the following format: yyyy-MM-ddTHH:mm:ss:fff. |