ANPR result structure
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;
Structure size
Recognition type: 0-recognize via video, 1- recognize via picture, 2-continuous recorded video (support search)
Lane No.
Alarm video ID (for video search only), and this parameter is valid only when byResultType is "2".
Time of UTC ± 00:00. (reserved)
Local time, accurate to millisecond, format: yyyymmddhhmmssxxx, e.g. 20090810235959999.
Picture length (close-up picture).
Length of license plate thumbnail (colorful picture).
Video size.
0-capture without red or green light, 1-capture with green light, 2-capture with red light.
No. of continuously captured picture.
Triggered lane No.
Vehicle type, see details in VTR_RESULT.
Size of binary picture (for iDS-65 series only).
Size of original vehicle picture (for iDS-65 series only).
Size of long-shot picture (for iDS-65 series only).
Binary picture of license plate (for iDS-65 series only).
Original vehicle picture (for iDS-65 series only).
Long-shot picture (for iDS-65 series only).
Direction of linked lane, see details in ITC_RELA_LANE_DIRECTION_TYPE.
Reserved.
License plate information.
Vehicle information
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.
For license plate thumbnail information, the size of this buffer equals to the value of dwPicPlateLen.
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.