提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
import com.sun.jna.Pointer; |
|
5 |
|
|
6 |
/** |
|
7 |
* @author 251823 |
|
8 |
* @description 一张大图检测到小图的结果 |
|
9 |
* @date 2023/04/20 15:18:00 |
|
10 |
*/ |
|
11 |
public class NET_IMAGE_RELATION_EX extends NetSDKLib.SdkStructure { |
|
12 |
/** |
|
13 |
* 图片的请求ID |
|
14 |
*/ |
|
15 |
public byte[] szRequestID = new byte[64]; |
|
16 |
/** |
|
17 |
* 大图ID |
|
18 |
*/ |
|
19 |
public int nBigPicId; |
|
20 |
/** |
|
21 |
* 大图中小图张数 |
|
22 |
*/ |
|
23 |
public int nSmallPicNum; |
|
24 |
/** |
|
25 |
* 大图中小图的信息 |
|
26 |
*/ |
|
27 |
public NET_SMALL_PIC_INFO[] stuSmallPicInfo = new NET_SMALL_PIC_INFO[32]; |
|
28 |
/** |
7412dd
|
29 |
* 大图检测小图结果错误码 {@link com.iailab.netsdk.lib.enumeration.EM_MULTIFACE_DETECT_ERRCODE} |
149dd0
|
30 |
*/ |
H |
31 |
public int emDetectErrCode; |
|
32 |
/** |
|
33 |
* 大图检测结果列表 |
|
34 |
*/ |
|
35 |
public NET_IMAGE_RELATION_LIST[] stuImageRelation = new NET_IMAGE_RELATION_LIST[32]; |
|
36 |
/** |
|
37 |
* 大图检测结果列表个数 |
|
38 |
*/ |
|
39 |
public int nstuImageRelationNum; |
|
40 |
/** |
|
41 |
* 查询令牌 |
|
42 |
*/ |
|
43 |
public int nToken; |
|
44 |
/** |
|
45 |
* 小图信息 |
|
46 |
*/ |
|
47 |
public NET_IMAGE_RELATION_EX_IMAGEINFO[] stuImageInfo = new NET_IMAGE_RELATION_EX_IMAGEINFO[32]; |
|
48 |
/** |
|
49 |
* 小图信息个数 |
|
50 |
*/ |
|
51 |
public int nImageNum; |
|
52 |
/** |
|
53 |
* 小图图片数据 |
|
54 |
*/ |
|
55 |
public Pointer pData; |
|
56 |
/** |
|
57 |
* 保留字节 |
|
58 |
*/ |
|
59 |
public byte[] bReserved = new byte[248]; |
|
60 |
|
|
61 |
public NET_IMAGE_RELATION_EX() { |
|
62 |
for (int i = 0; i < stuSmallPicInfo.length; i++) { |
|
63 |
stuSmallPicInfo[i] = new NET_SMALL_PIC_INFO(); |
|
64 |
} |
|
65 |
for (int i = 0; i < stuImageRelation.length; i++) { |
|
66 |
stuImageRelation[i] = new NET_IMAGE_RELATION_LIST(); |
|
67 |
} |
|
68 |
for (int i = 0; i < stuImageInfo.length; i++) { |
|
69 |
stuImageInfo[i] = new NET_IMAGE_RELATION_EX_IMAGEINFO(); |
|
70 |
} |
|
71 |
} |
|
72 |
} |