houzhongjian
2024-10-30 a28ca3f36d0ace05966a8c0fac1e4b5fe921f882
提交 | 用户 | 时间
ce910c 1 package com.netsdk.lib.structure;
H 2
3 import com.netsdk.lib.NetSDKLib;
4 import com.netsdk.lib.NetSDKLib.EVENT_INTELLI_COMM_INFO;
5 import com.netsdk.lib.NetSDKLib.NET_FACE_DATA;
6 import com.netsdk.lib.NetSDKLib.NET_FEATURE_VECTOR;
7 import com.netsdk.lib.NetSDKLib.NET_GPS_INFO;
8 import com.netsdk.lib.NetSDKLib.NET_MSG_OBJECT;
9 import com.netsdk.lib.NetSDKLib.NET_PASSERBY_INFO;
10 import com.netsdk.lib.NetSDKLib.NET_PIC_INFO;
11 import com.netsdk.lib.NetSDKLib.SCENE_IMAGE_INFO;
12 import com.netsdk.lib.structure.NET_CUSTOM_PROJECTS_INFO;
13 import com.netsdk.lib.structure.NET_IMAGE_INFO_EX2;
14 import com.netsdk.lib.structure.NET_MSG_OBJECT_SUPPLEMENT;
15 import com.sun.jna.Pointer;
16
17 /**
18  * @author 251823
19  * @description 事件类型EVENT_IVS_FACERECOGNITION(目标识别)对应的数据块描述信息,简化版本
20  * @date 2022/05/23
21  */
22 public class DEV_EVENT_FACERECOGNITION_INFO_V1 extends NetSDKLib.SdkStructure{
23        public int                         nChannelID;                                    // 通道号
24         public byte[]                     szName = new byte[128];                     // 事件名称
25         public int                         nEventID;                                    // 事件ID
26         public NET_TIME_EX UTC;                                        // 事件发生的时间
27         public NET_MSG_OBJECT           stuObject;                                    // 检测到的物体
28         public int                         nCandidateNum;                                // 当前人脸匹配到的候选对象数量
29         public Pointer                     stuCandidates;                              //当前人脸匹配到的候选对象信息,参考CANDIDATE_INFOEX数组
30         public byte                     bEventAction;                                // 事件动作,0表示脉冲事件,1表示持续性事件开始,2表示持续性事件结束;
31         public byte                     byImageIndex;                                // 图片的序号,同一时间内(精确到秒)可能有多张图片,从0开始
32         public byte[]                     byReserved1 = new byte[2];                  // 对齐
33         public int                         bGlobalScenePic;                            // 全景图是否存在, 类型为BOOL, 取值为0或者1
34         public NET_PIC_INFO             stuGlobalScenePicInfo;                        // 全景图片信息
35         public byte[]                     szSnapDevAddress = new byte[NetSDKLib.MAX_PATH];        // 抓拍当前人脸的设备地址,如:滨康路37号
36         public int                         nOccurrenceCount;                            // 事件触发累计次数, 类型为unsigned int
37         public EVENT_INTELLI_COMM_INFO  stuIntelliCommInfo;                            // 智能事件公共信息
38         public NET_FACE_DATA             stuFaceData;                                // 人脸数据
39         public byte[]                    szUID = new byte[NetSDKLib.NET_COMMON_STRING_32];        // 抓拍人员写入数据库的唯一标识符
40         public NET_FEATURE_VECTOR        stuFeatureVector;                            // 特征值信息
41         public byte[]                    szFeatureVersion = new byte[32];            // 特征值算法版本
42         public int                         emFaceDetectStatus;                           // 人脸在摄像机画面中的状态,详见EM_FACE_DETECT_STATUS
43         public byte[]                    szSourceID = new byte[32];                    // 事件关联ID,同一个物体或图片生成多个事件时SourceID相同
44         public NET_PASSERBY_INFO        stuPasserbyInfo;                            // 路人库信息
45         public int                        nStayTime;                                    // 路人逗留时间 单位:秒       
46         public byte[]                    bReserved = new byte[432];                  // 保留字节,留待扩展.
47         public NET_GPS_INFO             stuGPSInfo;                                 // GPS信息          
48         public byte[]                    szSerialUUID = new byte[22];                // 级联物体ID唯一标识
49                                                                                        // 格式如下:前2位%d%d:01-视频片段,02-图片,03-文件,99-其他;
50                                                                                     // 中间14位YYYYMMDDhhmmss:年月日时分秒;后5位%u%u%u%u%u:物体ID,如00001
51         public byte[]                    byReserved = new byte[2];                   // 对齐
52         public NET_CUSTOM_PROJECTS_INFO stuCustomProjects;                        // 项目信息
53         public boolean                bIsDuplicateRemove;                            // 智慧零售,是否符合去重策略(TRUE:符合 FALSE:不符合)
54         public byte[]                byReserved2=new byte[4];                                // 字节对齐
55         public NET_IMAGE_INFO_EX2[]       stuImageInfo = (NET_IMAGE_INFO_EX2[])new NET_IMAGE_INFO_EX2().toArray(32);    // 图片信息数组
56
57         public int                    nImageInfoNum;                                // 图片信息个数
58         public NET_MSG_OBJECT_SUPPLEMENT    stuObjectSupplement;                // 检测到的物体补充字段
59         public int                    nMode;                                      //0-普通  1-开启陌生人模式
60         public    SCENE_IMAGE_INFO                    stuThumImageInfo=new SCENE_IMAGE_INFO();        //大图(全景图)的缩略图信息
61         public    SCENE_IMAGE_INFO                    stuHumanImageInfo=new SCENE_IMAGE_INFO();       //人体图片信息
62         public    byte[]                    szVideoPath=new byte[256];                  //违章关联视频FTP上传路径
63         public    byte[]                    byReserved3=new byte[316];                  //保留字节
64 }