gen_dict.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "type_dict": {
  3. "MatShape": {
  4. "j_type": "MatOfInt",
  5. "jn_type": "long",
  6. "jni_type": "jlong",
  7. "jni_var": "MatShape %(n)s",
  8. "suffix": "J",
  9. "v_type": "Mat",
  10. "j_import": "org.opencv.core.MatOfInt"
  11. },
  12. "vector_MatShape": {
  13. "j_type": "List<MatOfInt>",
  14. "jn_type": "List<MatOfInt>",
  15. "jni_type": "jobject",
  16. "jni_var": "std::vector< MatShape > %(n)s",
  17. "suffix": "Ljava_util_List",
  18. "v_type": "vector_MatShape",
  19. "j_import": "org.opencv.core.MatOfInt"
  20. },
  21. "vector_size_t": {
  22. "j_type": "MatOfDouble",
  23. "jn_type": "long",
  24. "jni_type": "jlong",
  25. "jni_var": "std::vector<size_t> %(n)s",
  26. "suffix": "J",
  27. "v_type": "Mat",
  28. "j_import": "org.opencv.core.MatOfDouble"
  29. },
  30. "vector_Ptr_Layer": {
  31. "j_type": "List<Layer>",
  32. "jn_type": "List<Layer>",
  33. "jni_type": "jobject",
  34. "jni_var": "std::vector< Ptr<cv::dnn::Layer> > %(n)s",
  35. "suffix": "Ljava_util_List",
  36. "v_type": "vector_Layer",
  37. "j_import": "org.opencv.dnn.Layer"
  38. },
  39. "vector_Target": {
  40. "j_type": "List<Integer>",
  41. "jn_type": "List<Integer>",
  42. "jni_type": "jobject",
  43. "jni_var": "std::vector< cv::dnn::Target > %(n)s",
  44. "suffix": "Ljava_util_List",
  45. "v_type": "vector_Target"
  46. },
  47. "LayerId": {
  48. "j_type": "DictValue",
  49. "jn_type": "long",
  50. "jn_args": [
  51. [
  52. "__int64",
  53. ".getNativeObjAddr()"
  54. ]
  55. ],
  56. "jni_name": "(*(*(Ptr<cv::dnn::DictValue>*)%(n)s_nativeObj))",
  57. "jni_type": "jlong",
  58. "suffix": "J",
  59. "j_import": "org.opencv.dnn.DictValue"
  60. }
  61. }
  62. }