houzhongjian
2024-10-30 a28ca3f36d0ace05966a8c0fac1e4b5fe921f882
提交 | 用户 | 时间
ce910c 1 package com.netsdk.lib.structure;
H 2
3 import com.netsdk.lib.NetSDKLib;
4
5
6 /**
7  * @author 291189
8  * @version 1.0
9  * @description
10  * @date 2021/8/24 17:10
11  */
12 public class DEV_EVENT_FACEBODY_ANALYSE_INFO  extends NetSDKLib.SdkStructure {
13     public   int                             nChannelID;                                 // 通道号
14     public int                                nAction;                                    // 1:开始 2:停止
15     public byte[]                            szName=new byte[128];                                // 事件名称
16     public double                          PTS;                                        // 时间戳(单位是毫秒)
17     public NET_TIME_EX                     UTC=new NET_TIME_EX();                                        // 事件发生的时间
18     //参考枚举 EM_CLASS_TYPE
19     public int                    emClassType;                                // 智能事件所属大类
20     public int                            nEventID;                                   // 事件ID
21     public int                            nObjectID;                                    // 物体ID
22     public int                            nRuleID;                                    // 智能事件规则编号,用于标示哪个规则触发的事件
23     public int                            nSequence;                                    // 帧序号
24     public int                                nGroupID;                                    // 事件组ID,一次检测的多个nGroupID相同
25     public int                                nCountInGroup;                                // 一个事件组内的抓拍张数,一次检测的多个nCountInGroup相同
26     public int                             nIndexInGroup;                                // 一个事件组内的抓拍序号,从1开始
27     public byte[]                            byReserved1=new byte[4];                                // 字节对齐
28     public FACE_TRAIT                        stuFaceTrait=new FACE_TRAIT();                                // 人脸特征
29     public BODY_TRAIT                        stuBodyTrait=new BODY_TRAIT();                                // 人体特征
30     public NetSDKLib.NET_EVENT_IMAGE_OFFSET_INFO stuBodyImage=new NetSDKLib.NET_EVENT_IMAGE_OFFSET_INFO();                                // 人体图片信息
31     public NetSDKLib.NET_EVENT_IMAGE_OFFSET_INFO stuFaceImage=new NetSDKLib.NET_EVENT_IMAGE_OFFSET_INFO();                                 // 人脸图片信息
32     public NetSDKLib.NET_EVENT_IMAGE_OFFSET_INFO stuSceneImage=new NetSDKLib.NET_EVENT_IMAGE_OFFSET_INFO();                                // 全景图片信息
33     public OBJECT_RELATED_INFO                stuFaceObject=new OBJECT_RELATED_INFO();                                // 人脸关联信息
34     public OBJECT_RELATED_INFO                stuBodyObject=new OBJECT_RELATED_INFO();                                // 人体关联信息
35     public NetSDKLib.CANDIDATE_INFOEX[] stuCandidate=new  NetSDKLib.CANDIDATE_INFOEX[NetSDKLib.NET_MAX_CANDIDATE_NUM];            // 候选人脸列表
36    public int                                nCandidateNum;                                // 返回的候选人脸个数
37     public DEV_EVENT_FACEBODY_ANALYSE_INFO(){
38         for(int i=0;i<stuCandidate.length;i++){
39             stuCandidate[i] = new NetSDKLib.CANDIDATE_INFOEX();
40         }
41     }
42
43     @Override
44     public String toString() {
45         return "DEV_EVENT_FACEBODY_ANALYSE_INFO{" +
46                 "nChannelID=" + nChannelID +
47                 ", nAction=" + nAction +
48                 ", szName=" + new String(szName) +
49                 ", PTS=" + PTS +
50                 ", UTC=" + UTC +
51                 ", emClassType=" + emClassType +
52                 ", nEventID=" + nEventID +
53                 ", nObjectID=" + nObjectID +
54                 ", nRuleID=" + nRuleID +
55                 ", nSequence=" + nSequence +
56                 ", nGroupID=" + nGroupID +
57                 ", nCountInGroup=" + nCountInGroup +
58                 ", nIndexInGroup=" + nIndexInGroup +
59
60                 ", nCandidateNum=" + nCandidateNum +
61                 '}';
62     }
63 }