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_TRAFFIC_T

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    typedef struct
    {
        int enterCarCount;
        int enterPersonCount;
        int enterBikeCount;
        int leaveCarCount;
        int leavePersonCount;
        int leaveBikeCount;
        int existCarCount;
        int existPersonCount;
        int existBikeCount;
        unsigned int count;
        NET_SDK_IVE_TRAFFIC_INFO_T aoiInfo[32];
    } NET_SDK_IVE_TRAFFIC_T;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_IVE_TRAFFIC_T
    {
        public Int32 enterCarCount;
        public Int32 enterPersonCount;
        public Int32 enterBikeCount;
        public Int32 leaveCarCount;
        public Int32 leavePersonCount;
        public Int32 leaveBikeCount;
        public Int32 existCarCount;
        public Int32 existPersonCount;
        public Int32 existBikeCount;
        public UInt32 count;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.Struct, SizeConst = 32)]
        public NET_SDK_IVE_TRAFFIC_INFO_T[] aoiInfo;
    }

### Function Description

Traffic statistics results.

### Member Description

Member | Type | Remark
--- | --- | ---
enterCarCount | int | The number of vehicles entering the area.
enterPersonCount | int | The number of people entering the area.
enterBikeCount | int | The number of bicycles entering the area.
leaveCarCount | int | The number of vehicles leaving the area.
leavePersonCount | int | The number of people leaving the area.
leaveBikeCount | int | The number of bicycles leaving the area.
existCarCount | int | The number of cars in the area.
existPersonCount | int | The number of people in the area.
existBikeCount | int | The number of bicycles in the area.
count | unsigned int | The total number, that is, the number of aoiInfo.
aoiInfo | `NET_SDK_IVE_TRAFFIC_INFO_T`[32] | Traffic statistics analysis results list.

Error Code