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
package com.netsdk.lib.structure;
 
import com.netsdk.lib.NetSDKLib;
 
 
/**
 * @author 291189
 * @version 1.0
 * @description  目标关联信息
 * @date 2021/8/24 15:09
 */
public class OBJECT_RELATED_INFO  extends NetSDKLib.SdkStructure{
    public int                            nObjectID;                                    // 物体ID
    public int                            nRelativeID;                                // 相关物体ID
    public byte[]                            szObjectType=new byte[128];                            // 物体类型,如"HumanFace"
    public NetSDKLib.NET_RECT stuBoundingBox=new NetSDKLib.NET_RECT();                                // 物体包围盒,坐标[0, 8191]
    public NetSDKLib.NET_RECT stuOriginalBoundingBox=new NetSDKLib.NET_RECT();                        // 原始物体包围盒,坐标[0, 8191]
    public byte[]                            byReserved=new byte[1024];                            // 预留字段
 
    @Override
    public String toString() {
        return "OBJECT_RELATED_INFO{" +
                "nObjectID=" + nObjectID +
                ", nRelativeID=" + nRelativeID +
                ", szObjectType=" + new String(szObjectType) +
                ", stuBoundingBox=" + stuBoundingBox +
                ", stuOriginalBoundingBox=" + stuOriginalBoundingBox +
                '}';
    }
}