Request for AutoTRASSIR events

Example of a request:

        https://192.168.1.200:8080/lpr_events?sid=zxRc8Y7w  

Example of a server response:

[
{
    "best_guess" : "b663kt777",
    "channel" : "ilL0UhRy",
    "flags" : "1073741825",
    "id" : "63191",
    "lane" : "2",
    "lists" : "",
    "plate" : "b663kt777",
    "quality" : "98.90",
    "server" : "CyPy6vF5",
    "speed" : "0.00",
    "template" : "ru/rux3xx3-v1",
    "time_bestview" : "1393329818921734",
    "time_enter" : "1393329818802482",
    "time_leave" : "1393329819239768",
    "track_points" : []
},
{
    "best_guess" : "p066ok77",
    "channel" : "ilL0UhRy",
    "flags" : "536870913",
    "id" : "63190",
    "lane" : "1",
    "lists" : "",
    "plate" : "p066ok77",
    "quality" : "65.60",
    "server" : "CyPy6vF5",
    "speed" : "0.00",
    "template" : "ru/rux3xx2-v1",
    "time_bestview" : "1393329818524229",
    "time_enter" : "1393329818524229",
    "time_leave" : "1393329818762729",
    "track_points" : []
}
]  

Table 102. 

Properties Values Description TRASSIR version
"best_guess"   The most qualitatively recognized license plate number ≥4.0
"channel"   GUID of channel on which AutoTRASSIR module is used ≥3.1
"flags"   Flags ≥3.1
"id"   AutoTRASSIR event ID ≥3.1
"lane"   Traffic lane ≥3.1
"lists"   The list in which the given license plate number was detected ≥3.1
"plate"   Recognized AutoTRASSIR license plate number ≥3.1
"quality"   The best quality rate of the license plate number recognition ≥3.1
"server"   TRASSIR server ID ≥3.1
"speed"   Vehicle speed ≥3.1
"template"   AutoTRASSIR template used for license plate number detection ≥3.1
"time_bestview"   The time the license plate number is recognized most qualitatively ≥3.1
"time_enter"   Time of the license plate appearance in the detection zone ≥3.1
"time_leave"   Time of the license plate number leaving the detection zone ≥3.1
"track_points"   The recognized numbers coordinates. The example of the coordinate request is described below ≥3.1

Tip

The response time is indicated in microseconds in UNIX-time format according to time zone configured on the server.

To get the coordinates of the recognized license plates add to request &track_points=true.

Example of requesting AutoTRASSIR events with the coordinates of recognized license plates:

        https://192.168.1.200:8080/lpr_events?sid=zxRc8Y7w&track_points=true  

Example of a server response:

[
{
    "best_guess" : "b663kt777",
    "channel" : "ilL0UhRy",
    "flags" : "1073741825",
    "id" : "63191",
    "lane" : "2",
    "lists" : "",
    "plate" : "b663kt777",
    "quality" : "98.90",
    "server" : "CyPy6vF5",
    "speed" : "0.00",
    "template" : "ru/rux3xx3-v1",
    "time_bestview" : "1393329818921734",
    "time_enter" : "1393329818802482",
    "time_leave" : "1393329819239768",
    "track_points" : [
    {
       "h" : 8.25,
       "w" : 18.75,
       "x" : 41.5,
       "y" : 35.75
    },
    {
       "h" : 7.5,
       "w" : 17.25,
       "x" : 40,
       "y" : 37.25
    }
    ]
}
]  

Table 103. 

Properties Values Description TRASSIR version
"h"   The height of the recognized license plate number ≥3.1
"w"   The width of the recognized license plate ≥3.1
"x"   Horizontal axis position of the top left corner of the recognized license plate number in the frame ≥3.1
"y"   Vertical axis position of the top left corner of the recognized license plate number in the frame ≥3.1


Tip

Parameter values are indicated as a percentage of the frame size.