The XML code defines the structure of the XML files generated by the SharpZ3. You can re-sort or remove any of the fields. The XML file name consists of the SharpZ3 name and a unique identification number (for example, SHARP12345_6ee17b00-82c1-466b-9fd6-003417bc82c4_lpr.xml).
Template:
<?xml version="1.0" encoding="UTF-8"?>
<AutoVu>
<Plate>#PLATE_READ#</Plate>
<State>#PLATE_STATE#</State>
<UTCDate>#DATE_UTC#{yyyy:MM:dd}</UTCDate>
<UTCTime>#TIME_UTC#{HH:mm:ss}</UTCTime>
<CameraName>#CAMERA_NAME#</CameraName>
<SourceName>#SHARP_NAME#</SourceName>
<ContextImage>#CONTEXT_IMAGE#</ContextImage>
<PlateImage>#PLATE_IMAGE#</PlateImage>
<LongitudeX>#LONGITUDE#</LongitudeX>
<LatitudeY>#LATITUDE#</LatitudeY>
<Guid>#GUID#</Guid>
</AutoVu>
Note the following:
- Hotlist matching is not supported.
-
UTCDate
andUTCTime
display the Windows date and time properties. -
CameraName
displays the name of the camera, for example,Context Camera
. -
SourceName
is the SharpZ3 name (for example, Sharp12345). -
ContextImage
andPlateImage
images are encoded into JPEG and then converted to Base64 (text) for transport and storage in XML / JSON. To use them, you must transform them back into JPEG binary (Base64 -> array of bytes). -
Guid
is the unique identification of the event read. - You can add the following custom fields to the template:
- Confidence score
- The SharpZ3 assigns a confidence score percentage to
each license plate read. This value indicates how confident the SharpZ3 is in the accuracy of the read. You can add the
confidence score associated with the plate read to the XML using the
following field:
<ConfidenceScore>#CUSTOM_FIELDS#{Confidence Score}</ConfidenceScore>
NOTE: License plates that contain similar characters such as 8 and B are more difficult to read and generally produce reads with a lower confidence score. - Plate Corners in Context Image
- The Sharp unit detects the coordinates of the license plate corners, as
they appear in the Context image. To export the plate corners, include the
following line in the
XML:
<PlateCornersContext>#CUSTOM_FIELDS#{Plate Corners in Context Image}</PlateCornersContext>
- Plate Corners in LPR Image
- The Sharp unit detects the coordinates of the license plate corners, as
they appear in the LPR image. To export the plate corners, include the
following line in the
XML:
<PlateCornersLPR>#CUSTOM_FIELDS#{Plate Corners in LPR Image}</PlateCornersLPR>
- Relative Motion
- When the SharpZ3 reads a plate, it detects and displays if the vehicle is approaching or moving away.
- State Name
- The SharpZ3 attempts to read the plate’s origin in addition to the plate number (some plates include the issuing state or province). This may not be possible for all types of license plates.
- Vehicle Type
- Certain license plates include character symbols that identify specific vehicle types (for example, taxi, transport, and so on). If the SharpZ3 can read these symbols, it displays the vehicle type along with the other read and hit information.