NET_ITS_PLATE_RESULT

ANPR result structure

Structure Definition

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;

Members

dwSize

Structure Size

dwMatchNo

Match ID, which consists of vehicle No., data type, and lane No.

byGroupNum

Number of picture groups (total number of one vehicle picture groups captured by multiple cameras), the default value is 1.

byPicNo

No. of continuously captured picture (if byPicNo is byGroupNum, it indicates that the last picture is received).

bySecondCam

Whether the picture is captured by the second camera.

byFeaturePicNo

Intersection violation system for red light running, the No. of picture to be set as close-up picture, 0xff-not set.

byDriveChan

Triggered lane No.

byVehicleType

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.

byDetSceneID

Detection scene No., 0-invalid, other values: [1,4], for network camera, its value is 0 (not support)

byVehicleAttribute

Vehicle properties, 0-no additional properties, other values: bit1-yellow label vehicle, bit2-danguous goods vehicle, bit value: 0-no, 1-yes.

wIllegalType

Traffic violation type. When the value of this parameter is 0, see the traffic violation type in dwCustomIllegalType.

byIllegalSubType

Sub type of traffic violation.

byPostPicNo

The No. of picture to be set as the checkpoint picture, 0xff-not set.

byChanIndex

Channel No.

wSpeedLimit

Upper limit of speed (it is valid only when overspeed).

byChanIndexEx

byChanIndexEx*256+byChanIndex is the actual channel No.

byRes2

Reserved

struPlateInfo

License plate information, see details in the structure NET_DVR_PLATE_INFO.

struVehicleInfo

Vehicle information , see details in the structure NET_DVR_VEHICLE_INFO.

byMonitoringSiteID

Monitoring point ID

byDeviceID

Device ID

byDir

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

byDetectType

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.

byRelaLaneDirectionType

Linked lane direction, see details in ITC_RELA_LANE_DIRECTION_TYPE, which corresponds to the linked lane No.

byCarDirectionType

Vehicle driving direction: 0-from top to bottom in image, 1- from bottom to top in image.

dwCustomIllegalType

Traffic violation type (custom), this parameter is valid only when wIllegalType is 0.

pIllegalInfoBuf

Violation code, it is valid when byIllegalFromatType is 1. The code pointer points to the structure NET_ITS_ILLEGAL_INFO.

byIllegalFromatType

Traffic violation information format: 0-digital format, 1-character format

byPendant

Objects hanging on window?: 0-unknown, 1-yes, 2-no

byDataAnalysis

Data analyzed?: 0-no, 1-yes

byYellowLabelCar

Yellow label vehicle? 0-unknown, 1-yes, 2-no

byDangerousVehicles

Dangerous goods vehicle? 0-unknown, 1-yes, 2-no

byPilotSafebelt

Driver wearing safety belt? 0-unknown, 1-yes, 2-no

byCopilotSafebelt

Co-driver wearing safety belt?: 0-unknown, 1-yes, 2-no

byPilotSunVisor

Sun shield of co-driver room opened?: 0-unknown, 1-yes, 2-no

byCopilotSunVisor

Sun shield of co-driver room opened?: 0-unknown, 1-yes, 2-no

byPilotCall

Driver making call? 0-unknown, 1-yes, 2-no

byBarrierGateCtrlType

Barrier control type: 0-open, 1-close.

byAlarmDataType

Alarm data type: 0-real-time data, 1-history data.

struSnapFirstPicTime

Time of first captured picture, unit: ms, see details in the structure NET_DVR_TIME_V50.

dwIllegalTime

Violation duration (unit: ms)=time of last captured picture-time of first captured picture

dwPicNum

Number of pictures.

struPicInfo

Picture information, call back one by one, and up to 6 pictures are allowed, see details in the structure NET_ITS_PICTURE_INFO.

Remarks

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.