Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# NET_SDK_IVE_VEHICE_ITEM_INFO

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    typedef struct
    {
        unsigned int begin_flag;
        unsigned int data_type;
        unsigned int image_type;
        unsigned int plateId;
        unsigned int plateCharCount;
        char plate[32];
        char plateCharConfid[32];
        NET_SDK_IVE_RECT_T ptPlateCharRect[32];
        unsigned int ptWidth;
        unsigned int ptHeight;
        NET_SDK_IVE_POINT_T ptLeftTop;
        NET_SDK_IVE_POINT_T ptRightTop;
        NET_SDK_IVE_POINT_T ptLeftBottom;
        NET_SDK_IVE_POINT_T ptRightBottom;
        unsigned short plateWidth;
        unsigned short plateHeight;
        unsigned int plateConfidence;
        unsigned int plateIntensity;
        unsigned char plateColor;
        unsigned char plateStyle;
        unsigned char PlateColorRate;
        unsigned char vehicleColor;
        unsigned int plateAngleH;
        unsigned int plateAngleV;
        unsigned int jpeg_len;
        unsigned int jpeg_vir_len;
        char owner[32];
        int listType;
        unsigned long long beginTime;
        unsigned long long endTime;
        unsigned int cardNum;
        unsigned char endTimeValidForever;
        unsigned char iVehicleDirect;
        unsigned char resrv[6];
        unsigned int end_flag;
    } NET_SDK_IVE_VEHICE_ITEM_INFO;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_IVE_VEHICE_ITEM_INFO
    {
        public UInt32 begin_flag;
        public UInt32 data_type;
        public UInt32 image_type;
        public UInt32 plateId;
        public UInt32 plateCharCount;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 32)]
        public byte[] plate;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 32)]
        public byte[] plateCharConfid;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.Struct, SizeConst = 32)]
        public NET_SDK_IVE_RECT_T[] ptPlateCharRect;
        public UInt32 ptWidth;
        public UInt32 ptHeight;
        public NET_SDK_IVE_POINT_T ptLeftTop;
        public NET_SDK_IVE_POINT_T ptRightTop;
        public NET_SDK_IVE_POINT_T ptLeftBottom;
        public NET_SDK_IVE_POINT_T ptRightBottom;
        public UInt16 plateWidth;
        public UInt16 plateHeight;
        public UInt32 plateConfidence;
        public UInt32 plateIntensity;
        public byte plateColor;
        public byte plateStyle;
        public byte PlateColorRate;
        public byte vehicleColor;
        public UInt32 plateAngleH;
        public UInt32 plateAngleV;
        public UInt32 jpeg_len;
        public UInt32 jpeg_vir_len;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 32)]
        public byte[] owner;
        public Int32 listType;
        public UInt64 beginTime;
        public UInt64 endTime;
        public UInt32 cardNum;
        public byte endTimeValidForever;
        public byte iVehicleDirect;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 6)]
        public byte[] resrv;
        public UInt32 end_flag;
    }

### Function Description

License Plate Recognition Details.

### Member Description

Member | Type | Remark
--- | --- | ---
begin_flag | unsigned int | Start marker, 0x5a5a5a5.
data_type | unsigned int | Image format type, 0: JPG; 1: YUV.
image_type | unsigned int | Image type, 0: original image; 1: license plate.
plateId | unsigned int | License plate ID, used for identification.
plateCharCount | unsigned int | Number of license plate characters.
plate | char[32] | License plate number, utf8 encoding.
plateCharConfid | char[32] | License plate character confidence.
ptPlateCharRect | `NET_SDK_IVE_RECT_T`[32] | The coordinates of the upper left corner of the license plate characters.
ptWidth | unsigned int | Coordinate scale width (used to draw a license plate tracking frame, or circle the location of the license plate in the picture).
ptHeight | unsigned int | The coordinate ratio is high.
ptLeftTop | `NET_SDK_IVE_POINT_T` | The coordinates of the upper left corner of the license plate.
ptRightTop | `NET_SDK_IVE_POINT_T` | The coordinates of the upper right corner of the license plate.
ptLeftBottom | `NET_SDK_IVE_POINT_T` | The coordinates of the lower left corner of the license plate.
ptRightBottom | `NET_SDK_IVE_POINT_T` | The coordinates of the lower right corner of the license plate.
plateWidth | unsigned short | The width of the license plate capture image.
plateHeight | unsigned short | Height of the license plate capture image.
plateConfidence | unsigned int | Confidence.
plateIntensity | unsigned int | License plate brightness.
plateColor | unsigned char | License plate color: 0-Unknown 1-Blue 2-Yellow 3-White 4-Black 5-Green 6-Green and Black 7-Red 8-Orange 9-Cyan 10-Purple 11-Gray.
plateStyle | unsigned char | Vehicle type.
PlateColorRate | unsigned char | Color matching degree;.
vehicleColor | unsigned char | Body color.
plateAngleH | unsigned int | The horizontal tilt angle of the license plate.
plateAngleV | unsigned int | The vertical tilt angle of the license plate.
jpeg_len | unsigned int | The actual length of the Jpeg image.
jpeg_vir_len | unsigned int | The total length of the Jpeg image data aligned to 32 bytes.
owner | char[32] | Name of the owner.
listType | int | List type, 0-unmatched, 1-unfamiliar vehicle, 2-white list, 3-black list, generate matching type [1-24], 8 spaces are reserved for each category, unmatched [0,25-31], and the unmatched space is expanded to 8.
beginTime | unsigned long long | Start time.
endTime | unsigned long long | End time.
cardNum | unsigned int | Number of license plates.
endTimeValidForever | unsigned char | Whether the end time is permanently valid, 1: permanently valid, the endTime variable is invalid; 0: the end time is not permanently valid, and endTime is valid.
iVehicleDirect | unsigned char | Vehicle driving direction, 1 unknown 2 approaching 3 far away 4 stationary
resrv | unsigned char[6] | Reserved field.
end_flag | unsigned int | End marker, 0ax5a5a5a5.

Error Code