Modifications you can make to the SharpV FTP XML template - SharpV | SharpOS 13.6

AutoVu™ SharpV Deployment Guide 13.6

Applies to
SharpV | SharpOS 13.6
Last updated
2022-07-19
Content type
Guides > User guides
Language
English
Product
SharpOS
SharpV
Version
13.6

The XML code defines the structure of the XML files generated by the SharpV. You can re-sort or remove any of the fields. The XML file name consists of the SharpV name and a unique identification number (for example, SHARPV12345_6ee17b00-82c1-466b-9fd6-003417bc82c4_lpr.xml).

Template:


<?xml version="1.0" encoding="utf-8"?>
<AutoVu>
   <Plate>#PLATE_READ#</Plate>
   <State>#CUSTOM_FIELDS#{State Name}</State>
   <UTCDate>#DATE_UTC#{yyyy:MM:dd}</UTCDate>
   <UTCTime>#TIME_UTC#{HH:mm:ss.fff}</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.
  • LocalDate, LocalTime, UTCDate, UTCTime, and TimeZone display the Windows date and time properties.
  • CameraName is set in the Genetec Patroller™ Config Tool.
  • SourceName is the SharpV name (e.g. Sharp12345).
  • ContextImage and PlateImage are encoded into text.
    NOTE: Information on context images is not applicable to SharpV ITS cameras.
  • Guid is the unique identification of the event read.
  • If using FTP with GPS coordinates, you’ll need to add longitude and latitude fields.
  • You can add the following custom fields to the template:
    Confidence score
    The Sharp assigns a confidence score percentage to each license plate read. This value indicates how confident the Sharp 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>

    Lane
    If dual-lane monitoring is configured for the Sharp, you can add the lane name associated with the plate read to the XML using the following field:

    <Lane>#CUSTOM_FIELDS#{Lane}</Lane>

    Relative Motion
    When the Sharp 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>.

    Speed
    For systems that include a fixed Sharp camera, you can configure the camera to export the vehicle’s estimated speed. You can add the speed of the vehicle associated with the plate read to the XML using the following field:

    <Speed>#CUSTOM_FIELDS#{Speed}</Speed>

    State Name
    The Sharp 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 Sharp 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>.

<?xml version="1.0" encoding="utf-8"?>
<AutoVu>
   <Plate>#PLATE_READ#</Plate>
   <LocalDate>#DATE_LOCAL#{HH:mm:ss}</LocalTime>
   <UTCDate>#DATE_UTC#{yyyy:MM:dd}</UTCDate>
   <UTCTime>#TIME_UTC#{HH:mm:ss.fff}</UTCTime>
   <TimeZone>#TIME_ZONE#</TimeZone>
   <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>