ANPR result structure
struct{
DWORD dwSize;
DWORD dwMatchNo;
BYTE byGroupNum;
BYTE byPicNo;
BYTE bySecondCam;
BYTE byFeaturePicNo;
BYTE byDriveChan;
BYTE byVehicleType;
BYTE byDetSceneID;
BYTE byVehicleAttribute;
WORD wIllegalType;
BYTE byIllegalSubType[8];
BYTE byPostPicNo;
BYTE byChanIndex;
WORD wSpeedLimit;
BYTE byChanIndexEx;
BYTE byRes2;
NET_DVR_PLATE_INFO struPlateInfo;
NET_DVR_VEHICLE_INFO struVehicleInfo;
BYTE byMonitoringSiteID[48];
BYTE byDeviceID[48];
BYTE byDir;
BYTE byDetectType;
BYTE byRelaLaneDirectionType;
BYTE byCarDirectionType;
DWORD dwCustomIllegalType;
BYTE *pIllegalInfoBuf;
BYTE byIllegalFromatType;
BYTE byPendant;
BYTE byDataAnalysis;
BYTE byYellowLabelCar;
BYTE byDangerousVehicles;
BYTE byPilotSafebelt;
BYTE byCopilotSafebelt;
BYTE byPilotSunVisor;
BYTE byCopilotSunVisor;
BYTE byPilotCall;
BYTE byBarrierGateCtrlType;
BYTE byAlarmDataType;
NET_DVR_TIME_V50 struSnapFirstPicTime;
DWORD dwIllegalTime;
DWORD dwPicNum;
NET_ITS_PICTURE_INFO struPicInfo[6];
}NET_ITS_PLATE_RESULT, *LPNET_ITS_PLATE_RESULT;
Structure Size
Match ID, which consists of vehicle No., data type, and lane No.
Number of picture groups (total number of one vehicle picture groups captured by multiple cameras), the default value is 1.
No. of continuously captured picture (if byPicNo is byGroupNum, it indicates that the last picture is received).
Whether the picture is captured by the second camera.
Intersection violation system for red light running, the No. of picture to be set as close-up picture, 0xff-not set.
Triggered lane No.
Vehicle type: 0-unknown, 1-bus, 2-truck, 3-car, 4-mini bus, 5-van, 6-pedestrian, 7-two-wheel vehicle, 8-three-wheel vehicle, 9-SUV/MPV, 10-medium bus, 11-motor vehicle, 12-non-motor vehicle, 13-mini car, 14-micro car, 15-pickup truck. Generally, the vehicle type is determined by this member. If this member is set to 0, the vehicle type is determined by the member byVehicleType in the structure NET_DVR_VEHICLE_INFO.
Detection scene No., 0-invalid, other values: [1,4], for network camera, its value is 0 (not support)
Vehicle properties, 0-no additional properties, other values: bit1-yellow label vehicle, bit2-danguous goods vehicle, bit value: 0-no, 1-yes.
Traffic violation type. When the value of this parameter is 0, see the traffic violation type in dwCustomIllegalType.
Sub type of traffic violation.
The No. of picture to be set as the checkpoint picture, 0xff-not set.
Channel No.
Upper limit of speed (it is valid only when overspeed).
byChanIndexEx*256+byChanIndex is the actual channel No.
Reserved
License plate information, see details in the structure NET_DVR_PLATE_INFO.
Vehicle information , see details in the structure NET_DVR_VEHICLE_INFO.
Monitoring point ID
Device ID
Detection direction: 1-backward, 2-forward, 3-bidirection, 4-from east to west, 5from south to north, 6-from west to east, 7from north to south, 8-other
Detection type: 0-vehicle detection, 1-triggered by inductive loop, 2- triggered by video detection, 3-multi-frame recognition, 4- triggered by radar, 5-mixed-traffic detection.
Linked lane direction, see details in ITC_RELA_LANE_DIRECTION_TYPE, which corresponds to the linked lane No.
Vehicle driving direction: 0-from top to bottom in image, 1- from bottom to top in image.
Traffic violation type (custom), this parameter is valid only when wIllegalType is 0.
Violation code, it is valid when byIllegalFromatType is 1. The code pointer points to the structure NET_ITS_ILLEGAL_INFO.
Traffic violation information format: 0-digital format, 1-character format
Objects hanging on window?: 0-unknown, 1-yes, 2-no
Data analyzed?: 0-no, 1-yes
Yellow label vehicle? 0-unknown, 1-yes, 2-no
Dangerous goods vehicle? 0-unknown, 1-yes, 2-no
Driver wearing safety belt? 0-unknown, 1-yes, 2-no
Co-driver wearing safety belt?: 0-unknown, 1-yes, 2-no
Sun shield of co-driver room opened?: 0-unknown, 1-yes, 2-no
Sun shield of co-driver room opened?: 0-unknown, 1-yes, 2-no
Driver making call? 0-unknown, 1-yes, 2-no
Barrier control type: 0-open, 1-close.
Alarm data type: 0-real-time data, 1-history data.
Time of first captured picture, unit: ms, see details in the structure NET_DVR_TIME_V50.
Violation duration (unit: ms)=time of last captured picture-time of first captured picture
Number of pictures.
Picture information, call back one by one, and up to 6 pictures are allowed, see details in the structure NET_ITS_PICTURE_INFO.
Generally, refer to the parameter byVehicleType of this structure for the vehicle type. If byVehicleType is 0, refer to the parameter byVehicleType of structure NET_DVR_VEHICLE_INFO.