The Zapytanie POST request (see Search request) used for search start must contain the following (zobacz: Żądanie wyszukiwania) stosowane w celu rozpoczęcia wyszukiwania musi zawierać następujący JSON:
| Code Block |
|---|
{
"plate": "maskmaska"
}
|
The plate parameter sets a search mask. The mask format corresponds to the one used in GUI (see Parametr plate wyznacza maskę wyszukiwania. Format maski jest taki, jak w GUI (zobacz: Wyszukiwanie tablic rejestracyjnych).
| Note |
|---|
|
If the Jeśli body of POST request is empty, then the search will return all the results for the recognized license plates.zapytania POST jest puste, wyszukiwanie zwróci wszystkie rozpoznane tablice rejestracyjne. |
| Parameter | Required | DescriptionNodetailed responsePrzykładowe zapytanieSample request:
POST http://127.0.0.1:80/search/auto/SERVER1/AVDetector.2/EventSupplier/past/future?result_type=full or POST http://127.0.0.1:80/search/auto/SERVER1/AVDetector.2/EventSupplier/past/future
GET http://127.0.0.1:80/search/auto/2e69ba76-23f1-4d07-a812-fee86e994b8e/result
Sample responsePrzykładowa odpowiedź:
| Code Block |
|---|
{
"origin": "hosts/SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0",
"plates": [
"О035КО97"
],
"position": {
"bottom": 0.86805555555555558,
"left": 0.31805555555555554,
"right": 0.49027777777777776,
"top": 0.81944444444444442
},
"timestamp": "20190912T105500.925000"
} |
ParameterDescription| Сamera channel to take analyzed video stream from. | | Kanał kamery, z którego ma zostać pozyskany zanalizowany strumień wideo. |
| timestamp | Znacznik czasu klatki z tablicą rejestracyjną wykrytą przez narzędzie detekcji. |
| plates | Lista możliwych hipotez dla danej rozpoznanej tablicy rejestracyjnej. |
| position | Koordynaty rozpoznanej tablicy rejestracyjnej na klatce wideo. Parametr ten jest obsługiwany począwszy od wersji |
| timestamp | Time stamp of a frame with a license plate detected by the detection tool. |
| plates | List of supposed hypotheses |
position | Coordinates of the recognized LP frame. This parameter is available in the response starting from Detailed responseSzczegółowa odpowiedź:
| Expand |
|---|
| Code Block |
|---|
{
"events" : [
{
"Direction" : 0,
"Hypotheses" : [
{
"OCRQuality" : 50,
"PlateCountry" : "us",
"PlateFull" : "Е733ХА97",
"PlateRectangle" : [
0.40104166666666669,
0.52941176470588236,
0.45000000000000001,
0.55147058823529416
],
"TimeBest" : "20180730T094220.010000"
},
{
"OCRQuality" : 32,
"PlateCountry" : "us",
"PlateFull" : "*Е733Х*9",
"PlateRectangle" : [
0.40104166666666669,
0.52941176470588236,
0.45000000000000001,
0.55147058823529416
],
"TimeBest" : "20180730T094220.010000"
},
{
"OCRQuality" : 38,
"PlateCountry" : "us",
"PlateFull" : "Е733ХА***",
"PlateRectangle" : [
0.40104166666666669,
0.52941176470588236,
0.45000000000000001,
0.55147058823529416
],
"TimeBest" : "20180730T094220.010000"
}
],
"TimeBegin" : "20180730T094219.610000",
"TimeEnd" : "20180730T094220.050000",
"detector_type" : "plateRecognized",
"origin_id" : "hosts/Server1/DeviceIpint.2/SourceEndpoint.video:0:0",
"phase" : 0,
"timestamp" : "20180730T094220.010000",
"ts_vector_body" : "E733XA97 EZERZER 7ONEZER 3TWOZER 3THRZER XFOUZER AFIVZER 9SIXZER 7SEVZER 8LENGTHZER *E733X*9 *ZERONE EONEONE 7TWOONE 3THRONE 3FOUONE XFIVONE *SIXONE 9SEVONE 8LENGTHONE E733XA*** EZERTWO 7ONETWO 3TWOTWO 3THRTWO XFOUTWO AFIVTWO *SIXTWO *SEVTWO *EIGTWO 9LENGTHTWO"
}, |
|
...