Blame view

3rdparty/opencv-4.5.4/modules/dnn/misc/java/gen_dict.json 1.98 KB
f4334277   Hu Chunming   提交3rdparty
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
  {
      "type_dict": {
          "MatShape": {
              "j_type": "MatOfInt",
              "jn_type": "long",
              "jni_type": "jlong",
              "jni_var": "MatShape %(n)s",
              "suffix": "J",
              "v_type": "Mat",
              "j_import": "org.opencv.core.MatOfInt"
          },
          "vector_MatShape": {
              "j_type": "List<MatOfInt>",
              "jn_type": "List<MatOfInt>",
              "jni_type": "jobject",
              "jni_var": "std::vector< MatShape > %(n)s",
              "suffix": "Ljava_util_List",
              "v_type": "vector_MatShape",
              "j_import": "org.opencv.core.MatOfInt"
          },
          "vector_size_t": {
              "j_type": "MatOfDouble",
              "jn_type": "long",
              "jni_type": "jlong",
              "jni_var": "std::vector<size_t> %(n)s",
              "suffix": "J",
              "v_type": "Mat",
              "j_import": "org.opencv.core.MatOfDouble"
          },
          "vector_Ptr_Layer": {
              "j_type": "List<Layer>",
              "jn_type": "List<Layer>",
              "jni_type": "jobject",
              "jni_var": "std::vector< Ptr<cv::dnn::Layer> > %(n)s",
              "suffix": "Ljava_util_List",
              "v_type": "vector_Layer",
              "j_import": "org.opencv.dnn.Layer"
          },
          "vector_Target": {
              "j_type": "List<Integer>",
              "jn_type": "List<Integer>",
              "jni_type": "jobject",
              "jni_var": "std::vector< cv::dnn::Target > %(n)s",
              "suffix": "Ljava_util_List",
              "v_type": "vector_Target"
          },
          "LayerId": {
              "j_type": "DictValue",
              "jn_type": "long",
              "jn_args": [
                  [
                      "__int64",
                      ".getNativeObjAddr()"
                  ]
  
              ],
              "jni_name": "(*(*(Ptr<cv::dnn::DictValue>*)%(n)s_nativeObj))",
              "jni_type": "jlong",
              "suffix": "J",
              "j_import": "org.opencv.dnn.DictValue"
          }
      }
  }