Modifications you can make to the SharpV FTP XML template - SharpV OS 14.3

AutoVu™ SharpV Administrator Guide 14.3

Product
SharpV
Content type
Guides > Administrator guides
Version
14.3
Language
English
Last updated
2024-08-19

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:

Code

<?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.
  • Guid is the unique identification of the event read.
  • If using SFTP with GPS coordinates, you’ll need to add longitude and latitude fields.
  • You can add the following custom fields to the template:
    Accessible parking plates
    The Sharp unit recognizes accessible parking license plates that are issued to drivers with special parking privileges. You can add the accessible parking plates custom field to the XML using the following line:

    <AccessibleParkingPlate>#CUSTOM_FIELDS#{Accessible Parking Plate}</AccessibleParkingPlate>

    Confidence score
    The Sharp unit assigns a confidence score percentage to each license plate read. This value indicates how confident the Sharp unit is in the accuracy of the read. You can add the confidence score custom field to the XML using the following line:

    <ConfidenceScore>#CUSTOM_FIELDS#{Confidence Score}</ConfidenceScore>

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

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

    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 Context Image)</PlateCornersLPR>

    Relative Motion
    When the Sharp unit reads a plate, it detects and displays if the vehicle is approaching or moving away.
    To use this custom field, add the following line to the XML:

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

    Speed
    For SharpV units installed in a fixed location, you can configure the unit to export the vehicle’s estimated speed.
    To use this custom field, add the following line to the XML:

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

    State Name
    The Sharp unit attempts to read the plate’s origin in addition to the plate number (some plates include the issuing state or province). This might not be possible for all types of license plates.
    To use this custom 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.
    Temporary plates
    The Sharp unit recognizes the temporary paper license plates that are issued to vehicles until the actual license plates are delivered. You can add the accessible parking plates custom field to the XML using the following line:

    <TemporaryPlate>#CUSTOM_FIELDS#{Temporary Plate}</TemporaryPlate>

    Vehicle Type
    Certain license plates include character symbols that identify specific vehicle types (for example, taxi, transport, and so on). If the Sharp unit can read these symbols, it displays the vehicle type along with the other read and hit information.
    To use this custom field, add the following line to the XML:

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