NET_DVR_PLATE_RESULT

ANPR result structure

Structure Definition

struct{
  DWORD                    dwSize;
  BYTE                     byResultType;
  BYTE                     byChanIndex;
  WORD                     wAlarmRecordID;
  DWORD                    dwRelativeTime;
  BYTE                     byAbsTime[32];
  DWORD                    dwPicLen;
  DWORD                    dwPicPlateLen;
  DWORD                    dwVideoLen;
  BYTE                     byTrafficLight;
  BYTE                     byPicNum;
  BYTE                     byDriveChan;
  BYTE                     byVehicleType;
  DWORD                    dwBinPicLen;
  DWORD                    dwCarPicLen;
  DWORD                    dwFarCarPicLen;
  BYTE                     *pBuffer3;
  BYTE                     *pBuffer4;
  BYTE                     *pBuffer5;
  BYTE                      byRelaLaneDirectionType;
  BYTE                      byRes3[7];
  NET_DVR_PLATE_INFO       struPlateInfo;
  NET_DVR_VEHICLE_INFO     struVehicleInfo;
  BYTE                     *pBuffer1;
  BYTE                     *pBuffer2;
}NET_DVR_PLATE_RESULT, *LPNET_DVR_PLATE_RESULT;

Members

dwSize

Structure size

byResultType

Recognition type: 0-recognize via video, 1- recognize via picture, 2-continuous recorded video (support search)

byChanIndex

Lane No.

wAlarmRecordID

Alarm video ID (for video search only), and this parameter is valid only when byResultType is "2".

dwRelativeTime

Time of UTC ± 00:00. (reserved)

byAbsTime

Local time, accurate to millisecond, format: yyyymmddhhmmssxxx, e.g. 20090810235959999.

dwPicLen

Picture length (close-up picture).

dwPicPlateLen

Length of license plate thumbnail (colorful picture).

dwVideoLen

Video size.

byTrafficLight

0-capture without red or green light, 1-capture with green light, 2-capture with red light.

byPicNum

No. of continuously captured picture.

byDriveChan

Triggered lane No.

byVehicleType

Vehicle type, see details in VTR_RESULT.

dwBinPicLen

Size of binary picture (for iDS-65 series only).

dwCarPicLen

Size of original vehicle picture (for iDS-65 series only).

dwFarCarPicLen

Size of long-shot picture (for iDS-65 series only).

pBuffer3

Binary picture of license plate (for iDS-65 series only).

pBuffer4

Original vehicle picture (for iDS-65 series only).

pBuffer5

Long-shot picture (for iDS-65 series only).

byRelaLaneDirectionType

Direction of linked lane, see details in ITC_RELA_LANE_DIRECTION_TYPE.

byRes3

Reserved.

struPlateInfo

License plate information.

struVehicleInfo

Vehicle information

pBuffer1

For close-up picture information, the size of this buffer equals to the value of dwPicLen; for video information, the size of this buffer equals to the value of dwVideoLen.

pBuffer2

For license plate thumbnail information, the size of this buffer equals to the value of dwPicPlateLen.

Remarks

The uploaded picture or video information can be distinguished according to the information length (if the length is 0). The picture data includes scene picture and license plate thumbnail. If the video size is 0xffffffff, it indicates that the video is exception and only the alarm information (without video) will be uploaded, and the video pointer is NULL.

For iDS-65 series devices, the manually captured picture can only be uploaded to pBuffer1 and pBuffer2.

If the byResultType is 2, the wAlarmRecordID can be set as the search conditions for alarm video search.