Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The 검색 시작에 사용되는 POST request 요청(see 검색 요청) used for search start must contain the following JSON: 참조)은 다음 JSON을 포함해야 합니다.

Code Block
{
   "plate": "mask"
}

The plate parameter sets a search mask. The mask format corresponds to the one used in GUI (see LPR 검색plate 매개변수는 검색 마스크를 설정합니다. 마스크 형식은 GUI에서 사용되는 형식에 해당합니다 (LPR 검색 참조).

Note
titleAttention!

If the body of POST request is empty, then the search will return all the results for the recognized license plates.

POST 요청의 본문이 비어 있으면, 검색은 인식된 모든 번호판에 대한 결과를 반환합니다.


파라미터필수설명ParameterRequiredDescription
result_typeNo

result_type=full means detailed response 은 상세한 응답을 의미합니다.

샘플 요청Sample 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 response샘플 응답:

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"
}


Parameter파라미터Description설명
originCamera channel to take analyzed video stream from
timestampTime stamp of a frame with a license plate detected by the detection tool
platesList of supposed hypotheses
positionCoordinates of the recognized LP frame
분석된 비디오 스트림을 가져올 카메라 채널
timestamp검출 도구로 번호판이 감지된 프레임의 타임스탬프
plates추정된 가설 목록
position인식된 번호판 프레임의 좌표

상세 응답Detailed response:

Expand


Code Block
{
   "events" : [
      {
         "Direction" : 0,
         "Hypotheses" : [
            {
               "OCRQuality" : 50,
               "PlateCountry" : "us",
               "PlateFull" : "E733XA97",
               "PlateRectangle" : [
                  0.40104166666666669,
                  0.52941176470588236,
                  0.45000000000000001,
                  0.55147058823529416
               ],
               "TimeBest" : "20180730T094220.010000"
            },
            {
               "OCRQuality" : 32,
               "PlateCountry" : "us",
               "PlateFull" : "*E733X*9",
               "PlateRectangle" : [
                  0.40104166666666669,
                  0.52941176470588236,
                  0.45000000000000001,
                  0.55147058823529416
               ],
               "TimeBest" : "20180730T094220.010000"
            },
            {
               "OCRQuality" : 38,
               "PlateCountry" : "us",
               "PlateFull" : "E733XA***",
               "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"
      },


Sample request to receive events via Web-SocketSocket을 통해 이벤트를 받기 위한 샘플 요청:

ws://root:root@localhost/events?schema=proto

...