Modifications you can make to the SharpZ3 FTP XML template - SharpZ3 | SharpOS 13.1

SharpZ3 Administrator Guide 13.1

series
SharpZ3 | SharpOS 13.1
revised_modified
2020-07-14

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 and UTCTime 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 and PlateImage 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.
    Relative Motion
    When the SharpZ3 reads a plate, it detects and displays if the vehicle is approaching or moving away.
    To use this field, add the following line to the XML:

    <RelativeMotion>#CUSTOM_FIELDS#{Relative Motion}</RelativeMotion>.

    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.
    To use this field, add <State>#CUSTOM_FIELDS#{State Name}</State> to the XML, and then select State on the Analytics page of the Configuration menu in the Sharp Portal.
    NOTE: The ALPR context you are using must support the state name feature.
    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.
    To use this field, add the following line to the XML:

    <VehicleType>#CUSTOM_FIELDS#{Vehicle Type}</VehicleType>.