DetectorParameters.cs 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306
  1. 
  2. using OpenCVForUnity.CoreModule;
  3. using OpenCVForUnity.UtilsModule;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Runtime.InteropServices;
  7. namespace OpenCVForUnity.ArucoModule {
  8. // C++: class DetectorParameters
  9. //javadoc: DetectorParameters
  10. public class DetectorParameters : DisposableOpenCVObject {
  11. protected override void Dispose(bool disposing) {
  12. #if (UNITY_ANDROID && !UNITY_EDITOR)
  13. try {
  14. if (disposing) {
  15. }
  16. if (IsEnabledDispose) {
  17. if (nativeObj != IntPtr.Zero)
  18. aruco_DetectorParameters_delete(nativeObj);
  19. nativeObj = IntPtr.Zero;
  20. }
  21. } finally {
  22. base.Dispose(disposing);
  23. }
  24. #else
  25. return;
  26. #endif
  27. }
  28. protected internal DetectorParameters(IntPtr addr) : base(addr) { }
  29. public IntPtr getNativeObjAddr() { return nativeObj; }
  30. // internal usage only
  31. public static DetectorParameters __fromPtr__(IntPtr addr) { return new DetectorParameters(addr); }
  32. //
  33. // C++: static Ptr_DetectorParameters cv::aruco::DetectorParameters::create()
  34. //
  35. //javadoc: DetectorParameters::create()
  36. public static DetectorParameters create() {
  37. #if (UNITY_ANDROID && !UNITY_EDITOR)
  38. DetectorParameters retVal = DetectorParameters.__fromPtr__(aruco_DetectorParameters_create_10());
  39. return retVal;
  40. #else
  41. return null;
  42. #endif
  43. }
  44. //
  45. // C++: int DetectorParameters::adaptiveThreshWinSizeMin
  46. //
  47. //javadoc: DetectorParameters::get_adaptiveThreshWinSizeMin()
  48. public int get_adaptiveThreshWinSizeMin() {
  49. ThrowIfDisposed();
  50. #if (UNITY_ANDROID && !UNITY_EDITOR)
  51. int retVal = aruco_DetectorParameters_get_1adaptiveThreshWinSizeMin_10(nativeObj);
  52. return retVal;
  53. #else
  54. return -1;
  55. #endif
  56. }
  57. //
  58. // C++: void DetectorParameters::adaptiveThreshWinSizeMin
  59. //
  60. //javadoc: DetectorParameters::set_adaptiveThreshWinSizeMin(adaptiveThreshWinSizeMin)
  61. public void set_adaptiveThreshWinSizeMin(int adaptiveThreshWinSizeMin) {
  62. ThrowIfDisposed();
  63. #if (UNITY_ANDROID && !UNITY_EDITOR)
  64. aruco_DetectorParameters_set_1adaptiveThreshWinSizeMin_10(nativeObj, adaptiveThreshWinSizeMin);
  65. return;
  66. #else
  67. return;
  68. #endif
  69. }
  70. //
  71. // C++: int DetectorParameters::adaptiveThreshWinSizeMax
  72. //
  73. //javadoc: DetectorParameters::get_adaptiveThreshWinSizeMax()
  74. public int get_adaptiveThreshWinSizeMax() {
  75. ThrowIfDisposed();
  76. #if (UNITY_ANDROID && !UNITY_EDITOR)
  77. int retVal = aruco_DetectorParameters_get_1adaptiveThreshWinSizeMax_10(nativeObj);
  78. return retVal;
  79. #else
  80. return -1;
  81. #endif
  82. }
  83. //
  84. // C++: void DetectorParameters::adaptiveThreshWinSizeMax
  85. //
  86. //javadoc: DetectorParameters::set_adaptiveThreshWinSizeMax(adaptiveThreshWinSizeMax)
  87. public void set_adaptiveThreshWinSizeMax(int adaptiveThreshWinSizeMax) {
  88. ThrowIfDisposed();
  89. #if (UNITY_ANDROID && !UNITY_EDITOR)
  90. aruco_DetectorParameters_set_1adaptiveThreshWinSizeMax_10(nativeObj, adaptiveThreshWinSizeMax);
  91. return;
  92. #else
  93. return;
  94. #endif
  95. }
  96. //
  97. // C++: int DetectorParameters::adaptiveThreshWinSizeStep
  98. //
  99. //javadoc: DetectorParameters::get_adaptiveThreshWinSizeStep()
  100. public int get_adaptiveThreshWinSizeStep() {
  101. ThrowIfDisposed();
  102. #if (UNITY_ANDROID && !UNITY_EDITOR)
  103. int retVal = aruco_DetectorParameters_get_1adaptiveThreshWinSizeStep_10(nativeObj);
  104. return retVal;
  105. #else
  106. return -1;
  107. #endif
  108. }
  109. //
  110. // C++: void DetectorParameters::adaptiveThreshWinSizeStep
  111. //
  112. //javadoc: DetectorParameters::set_adaptiveThreshWinSizeStep(adaptiveThreshWinSizeStep)
  113. public void set_adaptiveThreshWinSizeStep(int adaptiveThreshWinSizeStep) {
  114. ThrowIfDisposed();
  115. #if (UNITY_ANDROID && !UNITY_EDITOR)
  116. aruco_DetectorParameters_set_1adaptiveThreshWinSizeStep_10(nativeObj, adaptiveThreshWinSizeStep);
  117. return;
  118. #else
  119. return;
  120. #endif
  121. }
  122. //
  123. // C++: double DetectorParameters::adaptiveThreshConstant
  124. //
  125. //javadoc: DetectorParameters::get_adaptiveThreshConstant()
  126. public double get_adaptiveThreshConstant() {
  127. ThrowIfDisposed();
  128. #if (UNITY_ANDROID && !UNITY_EDITOR)
  129. double retVal = aruco_DetectorParameters_get_1adaptiveThreshConstant_10(nativeObj);
  130. return retVal;
  131. #else
  132. return -1;
  133. #endif
  134. }
  135. //
  136. // C++: void DetectorParameters::adaptiveThreshConstant
  137. //
  138. //javadoc: DetectorParameters::set_adaptiveThreshConstant(adaptiveThreshConstant)
  139. public void set_adaptiveThreshConstant(double adaptiveThreshConstant) {
  140. ThrowIfDisposed();
  141. #if (UNITY_ANDROID && !UNITY_EDITOR)
  142. aruco_DetectorParameters_set_1adaptiveThreshConstant_10(nativeObj, adaptiveThreshConstant);
  143. return;
  144. #else
  145. return;
  146. #endif
  147. }
  148. //
  149. // C++: double DetectorParameters::minMarkerPerimeterRate
  150. //
  151. //javadoc: DetectorParameters::get_minMarkerPerimeterRate()
  152. public double get_minMarkerPerimeterRate() {
  153. ThrowIfDisposed();
  154. #if (UNITY_ANDROID && !UNITY_EDITOR)
  155. double retVal = aruco_DetectorParameters_get_1minMarkerPerimeterRate_10(nativeObj);
  156. return retVal;
  157. #else
  158. return -1;
  159. #endif
  160. }
  161. //
  162. // C++: void DetectorParameters::minMarkerPerimeterRate
  163. //
  164. //javadoc: DetectorParameters::set_minMarkerPerimeterRate(minMarkerPerimeterRate)
  165. public void set_minMarkerPerimeterRate(double minMarkerPerimeterRate) {
  166. ThrowIfDisposed();
  167. #if (UNITY_ANDROID && !UNITY_EDITOR)
  168. aruco_DetectorParameters_set_1minMarkerPerimeterRate_10(nativeObj, minMarkerPerimeterRate);
  169. return;
  170. #else
  171. return;
  172. #endif
  173. }
  174. //
  175. // C++: double DetectorParameters::maxMarkerPerimeterRate
  176. //
  177. //javadoc: DetectorParameters::get_maxMarkerPerimeterRate()
  178. public double get_maxMarkerPerimeterRate() {
  179. ThrowIfDisposed();
  180. #if (UNITY_ANDROID && !UNITY_EDITOR)
  181. double retVal = aruco_DetectorParameters_get_1maxMarkerPerimeterRate_10(nativeObj);
  182. return retVal;
  183. #else
  184. return -1;
  185. #endif
  186. }
  187. //
  188. // C++: void DetectorParameters::maxMarkerPerimeterRate
  189. //
  190. //javadoc: DetectorParameters::set_maxMarkerPerimeterRate(maxMarkerPerimeterRate)
  191. public void set_maxMarkerPerimeterRate(double maxMarkerPerimeterRate) {
  192. ThrowIfDisposed();
  193. #if (UNITY_ANDROID && !UNITY_EDITOR)
  194. aruco_DetectorParameters_set_1maxMarkerPerimeterRate_10(nativeObj, maxMarkerPerimeterRate);
  195. return;
  196. #else
  197. return;
  198. #endif
  199. }
  200. //
  201. // C++: double DetectorParameters::polygonalApproxAccuracyRate
  202. //
  203. //javadoc: DetectorParameters::get_polygonalApproxAccuracyRate()
  204. public double get_polygonalApproxAccuracyRate() {
  205. ThrowIfDisposed();
  206. #if (UNITY_ANDROID && !UNITY_EDITOR)
  207. double retVal = aruco_DetectorParameters_get_1polygonalApproxAccuracyRate_10(nativeObj);
  208. return retVal;
  209. #else
  210. return -1;
  211. #endif
  212. }
  213. //
  214. // C++: void DetectorParameters::polygonalApproxAccuracyRate
  215. //
  216. //javadoc: DetectorParameters::set_polygonalApproxAccuracyRate(polygonalApproxAccuracyRate)
  217. public void set_polygonalApproxAccuracyRate(double polygonalApproxAccuracyRate) {
  218. ThrowIfDisposed();
  219. #if (UNITY_ANDROID && !UNITY_EDITOR)
  220. aruco_DetectorParameters_set_1polygonalApproxAccuracyRate_10(nativeObj, polygonalApproxAccuracyRate);
  221. return;
  222. #else
  223. return;
  224. #endif
  225. }
  226. //
  227. // C++: double DetectorParameters::minCornerDistanceRate
  228. //
  229. //javadoc: DetectorParameters::get_minCornerDistanceRate()
  230. public double get_minCornerDistanceRate() {
  231. ThrowIfDisposed();
  232. #if (UNITY_ANDROID && !UNITY_EDITOR)
  233. double retVal = aruco_DetectorParameters_get_1minCornerDistanceRate_10(nativeObj);
  234. return retVal;
  235. #else
  236. return -1;
  237. #endif
  238. }
  239. //
  240. // C++: void DetectorParameters::minCornerDistanceRate
  241. //
  242. //javadoc: DetectorParameters::set_minCornerDistanceRate(minCornerDistanceRate)
  243. public void set_minCornerDistanceRate(double minCornerDistanceRate) {
  244. ThrowIfDisposed();
  245. #if (UNITY_ANDROID && !UNITY_EDITOR)
  246. aruco_DetectorParameters_set_1minCornerDistanceRate_10(nativeObj, minCornerDistanceRate);
  247. return;
  248. #else
  249. return;
  250. #endif
  251. }
  252. //
  253. // C++: int DetectorParameters::minDistanceToBorder
  254. //
  255. //javadoc: DetectorParameters::get_minDistanceToBorder()
  256. public int get_minDistanceToBorder() {
  257. ThrowIfDisposed();
  258. #if (UNITY_ANDROID && !UNITY_EDITOR)
  259. int retVal = aruco_DetectorParameters_get_1minDistanceToBorder_10(nativeObj);
  260. return retVal;
  261. #else
  262. return -1;
  263. #endif
  264. }
  265. //
  266. // C++: void DetectorParameters::minDistanceToBorder
  267. //
  268. //javadoc: DetectorParameters::set_minDistanceToBorder(minDistanceToBorder)
  269. public void set_minDistanceToBorder(int minDistanceToBorder) {
  270. ThrowIfDisposed();
  271. #if (UNITY_ANDROID && !UNITY_EDITOR)
  272. aruco_DetectorParameters_set_1minDistanceToBorder_10(nativeObj, minDistanceToBorder);
  273. return;
  274. #else
  275. return;
  276. #endif
  277. }
  278. //
  279. // C++: double DetectorParameters::minMarkerDistanceRate
  280. //
  281. //javadoc: DetectorParameters::get_minMarkerDistanceRate()
  282. public double get_minMarkerDistanceRate() {
  283. ThrowIfDisposed();
  284. #if (UNITY_ANDROID && !UNITY_EDITOR)
  285. double retVal = aruco_DetectorParameters_get_1minMarkerDistanceRate_10(nativeObj);
  286. return retVal;
  287. #else
  288. return -1;
  289. #endif
  290. }
  291. //
  292. // C++: void DetectorParameters::minMarkerDistanceRate
  293. //
  294. //javadoc: DetectorParameters::set_minMarkerDistanceRate(minMarkerDistanceRate)
  295. public void set_minMarkerDistanceRate(double minMarkerDistanceRate) {
  296. ThrowIfDisposed();
  297. #if (UNITY_ANDROID && !UNITY_EDITOR)
  298. aruco_DetectorParameters_set_1minMarkerDistanceRate_10(nativeObj, minMarkerDistanceRate);
  299. return;
  300. #else
  301. return;
  302. #endif
  303. }
  304. //
  305. // C++: int DetectorParameters::cornerRefinementMethod
  306. //
  307. //javadoc: DetectorParameters::get_cornerRefinementMethod()
  308. public int get_cornerRefinementMethod() {
  309. ThrowIfDisposed();
  310. #if (UNITY_ANDROID && !UNITY_EDITOR)
  311. int retVal = aruco_DetectorParameters_get_1cornerRefinementMethod_10(nativeObj);
  312. return retVal;
  313. #else
  314. return -1;
  315. #endif
  316. }
  317. //
  318. // C++: void DetectorParameters::cornerRefinementMethod
  319. //
  320. //javadoc: DetectorParameters::set_cornerRefinementMethod(cornerRefinementMethod)
  321. public void set_cornerRefinementMethod(int cornerRefinementMethod) {
  322. ThrowIfDisposed();
  323. #if (UNITY_ANDROID && !UNITY_EDITOR)
  324. aruco_DetectorParameters_set_1cornerRefinementMethod_10(nativeObj, cornerRefinementMethod);
  325. return;
  326. #else
  327. return;
  328. #endif
  329. }
  330. //
  331. // C++: int DetectorParameters::cornerRefinementWinSize
  332. //
  333. //javadoc: DetectorParameters::get_cornerRefinementWinSize()
  334. public int get_cornerRefinementWinSize() {
  335. ThrowIfDisposed();
  336. #if (UNITY_ANDROID && !UNITY_EDITOR)
  337. int retVal = aruco_DetectorParameters_get_1cornerRefinementWinSize_10(nativeObj);
  338. return retVal;
  339. #else
  340. return -1;
  341. #endif
  342. }
  343. //
  344. // C++: void DetectorParameters::cornerRefinementWinSize
  345. //
  346. //javadoc: DetectorParameters::set_cornerRefinementWinSize(cornerRefinementWinSize)
  347. public void set_cornerRefinementWinSize(int cornerRefinementWinSize) {
  348. ThrowIfDisposed();
  349. #if (UNITY_ANDROID && !UNITY_EDITOR)
  350. aruco_DetectorParameters_set_1cornerRefinementWinSize_10(nativeObj, cornerRefinementWinSize);
  351. return;
  352. #else
  353. return;
  354. #endif
  355. }
  356. //
  357. // C++: int DetectorParameters::cornerRefinementMaxIterations
  358. //
  359. //javadoc: DetectorParameters::get_cornerRefinementMaxIterations()
  360. public int get_cornerRefinementMaxIterations() {
  361. ThrowIfDisposed();
  362. #if (UNITY_ANDROID && !UNITY_EDITOR)
  363. int retVal = aruco_DetectorParameters_get_1cornerRefinementMaxIterations_10(nativeObj);
  364. return retVal;
  365. #else
  366. return -1;
  367. #endif
  368. }
  369. //
  370. // C++: void DetectorParameters::cornerRefinementMaxIterations
  371. //
  372. //javadoc: DetectorParameters::set_cornerRefinementMaxIterations(cornerRefinementMaxIterations)
  373. public void set_cornerRefinementMaxIterations(int cornerRefinementMaxIterations) {
  374. ThrowIfDisposed();
  375. #if (UNITY_ANDROID && !UNITY_EDITOR)
  376. aruco_DetectorParameters_set_1cornerRefinementMaxIterations_10(nativeObj, cornerRefinementMaxIterations);
  377. return;
  378. #else
  379. return;
  380. #endif
  381. }
  382. //
  383. // C++: double DetectorParameters::cornerRefinementMinAccuracy
  384. //
  385. //javadoc: DetectorParameters::get_cornerRefinementMinAccuracy()
  386. public double get_cornerRefinementMinAccuracy() {
  387. ThrowIfDisposed();
  388. #if (UNITY_ANDROID && !UNITY_EDITOR)
  389. double retVal = aruco_DetectorParameters_get_1cornerRefinementMinAccuracy_10(nativeObj);
  390. return retVal;
  391. #else
  392. return -1;
  393. #endif
  394. }
  395. //
  396. // C++: void DetectorParameters::cornerRefinementMinAccuracy
  397. //
  398. //javadoc: DetectorParameters::set_cornerRefinementMinAccuracy(cornerRefinementMinAccuracy)
  399. public void set_cornerRefinementMinAccuracy(double cornerRefinementMinAccuracy) {
  400. ThrowIfDisposed();
  401. #if (UNITY_ANDROID && !UNITY_EDITOR)
  402. aruco_DetectorParameters_set_1cornerRefinementMinAccuracy_10(nativeObj, cornerRefinementMinAccuracy);
  403. return;
  404. #else
  405. return;
  406. #endif
  407. }
  408. //
  409. // C++: int DetectorParameters::markerBorderBits
  410. //
  411. //javadoc: DetectorParameters::get_markerBorderBits()
  412. public int get_markerBorderBits() {
  413. ThrowIfDisposed();
  414. #if (UNITY_ANDROID && !UNITY_EDITOR)
  415. int retVal = aruco_DetectorParameters_get_1markerBorderBits_10(nativeObj);
  416. return retVal;
  417. #else
  418. return -1;
  419. #endif
  420. }
  421. //
  422. // C++: void DetectorParameters::markerBorderBits
  423. //
  424. //javadoc: DetectorParameters::set_markerBorderBits(markerBorderBits)
  425. public void set_markerBorderBits(int markerBorderBits) {
  426. ThrowIfDisposed();
  427. #if (UNITY_ANDROID && !UNITY_EDITOR)
  428. aruco_DetectorParameters_set_1markerBorderBits_10(nativeObj, markerBorderBits);
  429. return;
  430. #else
  431. return;
  432. #endif
  433. }
  434. //
  435. // C++: int DetectorParameters::perspectiveRemovePixelPerCell
  436. //
  437. //javadoc: DetectorParameters::get_perspectiveRemovePixelPerCell()
  438. public int get_perspectiveRemovePixelPerCell() {
  439. ThrowIfDisposed();
  440. #if (UNITY_ANDROID && !UNITY_EDITOR)
  441. int retVal = aruco_DetectorParameters_get_1perspectiveRemovePixelPerCell_10(nativeObj);
  442. return retVal;
  443. #else
  444. return -1;
  445. #endif
  446. }
  447. //
  448. // C++: void DetectorParameters::perspectiveRemovePixelPerCell
  449. //
  450. //javadoc: DetectorParameters::set_perspectiveRemovePixelPerCell(perspectiveRemovePixelPerCell)
  451. public void set_perspectiveRemovePixelPerCell(int perspectiveRemovePixelPerCell) {
  452. ThrowIfDisposed();
  453. #if (UNITY_ANDROID && !UNITY_EDITOR)
  454. aruco_DetectorParameters_set_1perspectiveRemovePixelPerCell_10(nativeObj, perspectiveRemovePixelPerCell);
  455. return;
  456. #else
  457. return;
  458. #endif
  459. }
  460. //
  461. // C++: double DetectorParameters::perspectiveRemoveIgnoredMarginPerCell
  462. //
  463. //javadoc: DetectorParameters::get_perspectiveRemoveIgnoredMarginPerCell()
  464. public double get_perspectiveRemoveIgnoredMarginPerCell() {
  465. ThrowIfDisposed();
  466. #if (UNITY_ANDROID && !UNITY_EDITOR)
  467. double retVal = aruco_DetectorParameters_get_1perspectiveRemoveIgnoredMarginPerCell_10(nativeObj);
  468. return retVal;
  469. #else
  470. return -1;
  471. #endif
  472. }
  473. //
  474. // C++: void DetectorParameters::perspectiveRemoveIgnoredMarginPerCell
  475. //
  476. //javadoc: DetectorParameters::set_perspectiveRemoveIgnoredMarginPerCell(perspectiveRemoveIgnoredMarginPerCell)
  477. public void set_perspectiveRemoveIgnoredMarginPerCell(double perspectiveRemoveIgnoredMarginPerCell) {
  478. ThrowIfDisposed();
  479. #if (UNITY_ANDROID && !UNITY_EDITOR)
  480. aruco_DetectorParameters_set_1perspectiveRemoveIgnoredMarginPerCell_10(nativeObj, perspectiveRemoveIgnoredMarginPerCell);
  481. return;
  482. #else
  483. return;
  484. #endif
  485. }
  486. //
  487. // C++: double DetectorParameters::maxErroneousBitsInBorderRate
  488. //
  489. //javadoc: DetectorParameters::get_maxErroneousBitsInBorderRate()
  490. public double get_maxErroneousBitsInBorderRate() {
  491. ThrowIfDisposed();
  492. #if (UNITY_ANDROID && !UNITY_EDITOR)
  493. double retVal = aruco_DetectorParameters_get_1maxErroneousBitsInBorderRate_10(nativeObj);
  494. return retVal;
  495. #else
  496. return -1;
  497. #endif
  498. }
  499. //
  500. // C++: void DetectorParameters::maxErroneousBitsInBorderRate
  501. //
  502. //javadoc: DetectorParameters::set_maxErroneousBitsInBorderRate(maxErroneousBitsInBorderRate)
  503. public void set_maxErroneousBitsInBorderRate(double maxErroneousBitsInBorderRate) {
  504. ThrowIfDisposed();
  505. #if (UNITY_ANDROID && !UNITY_EDITOR)
  506. aruco_DetectorParameters_set_1maxErroneousBitsInBorderRate_10(nativeObj, maxErroneousBitsInBorderRate);
  507. return;
  508. #else
  509. return;
  510. #endif
  511. }
  512. //
  513. // C++: double DetectorParameters::minOtsuStdDev
  514. //
  515. //javadoc: DetectorParameters::get_minOtsuStdDev()
  516. public double get_minOtsuStdDev() {
  517. ThrowIfDisposed();
  518. #if (UNITY_ANDROID && !UNITY_EDITOR)
  519. double retVal = aruco_DetectorParameters_get_1minOtsuStdDev_10(nativeObj);
  520. return retVal;
  521. #else
  522. return -1;
  523. #endif
  524. }
  525. //
  526. // C++: void DetectorParameters::minOtsuStdDev
  527. //
  528. //javadoc: DetectorParameters::set_minOtsuStdDev(minOtsuStdDev)
  529. public void set_minOtsuStdDev(double minOtsuStdDev) {
  530. ThrowIfDisposed();
  531. #if (UNITY_ANDROID && !UNITY_EDITOR)
  532. aruco_DetectorParameters_set_1minOtsuStdDev_10(nativeObj, minOtsuStdDev);
  533. return;
  534. #else
  535. return;
  536. #endif
  537. }
  538. //
  539. // C++: double DetectorParameters::errorCorrectionRate
  540. //
  541. //javadoc: DetectorParameters::get_errorCorrectionRate()
  542. public double get_errorCorrectionRate() {
  543. ThrowIfDisposed();
  544. #if (UNITY_ANDROID && !UNITY_EDITOR)
  545. double retVal = aruco_DetectorParameters_get_1errorCorrectionRate_10(nativeObj);
  546. return retVal;
  547. #else
  548. return -1;
  549. #endif
  550. }
  551. //
  552. // C++: void DetectorParameters::errorCorrectionRate
  553. //
  554. //javadoc: DetectorParameters::set_errorCorrectionRate(errorCorrectionRate)
  555. public void set_errorCorrectionRate(double errorCorrectionRate) {
  556. ThrowIfDisposed();
  557. #if (UNITY_ANDROID && !UNITY_EDITOR)
  558. aruco_DetectorParameters_set_1errorCorrectionRate_10(nativeObj, errorCorrectionRate);
  559. return;
  560. #else
  561. return;
  562. #endif
  563. }
  564. //
  565. // C++: float DetectorParameters::aprilTagQuadDecimate
  566. //
  567. //javadoc: DetectorParameters::get_aprilTagQuadDecimate()
  568. public float get_aprilTagQuadDecimate() {
  569. ThrowIfDisposed();
  570. #if (UNITY_ANDROID && !UNITY_EDITOR)
  571. float retVal = aruco_DetectorParameters_get_1aprilTagQuadDecimate_10(nativeObj);
  572. return retVal;
  573. #else
  574. return -1;
  575. #endif
  576. }
  577. //
  578. // C++: void DetectorParameters::aprilTagQuadDecimate
  579. //
  580. //javadoc: DetectorParameters::set_aprilTagQuadDecimate(aprilTagQuadDecimate)
  581. public void set_aprilTagQuadDecimate(float aprilTagQuadDecimate) {
  582. ThrowIfDisposed();
  583. #if (UNITY_ANDROID && !UNITY_EDITOR)
  584. aruco_DetectorParameters_set_1aprilTagQuadDecimate_10(nativeObj, aprilTagQuadDecimate);
  585. return;
  586. #else
  587. return;
  588. #endif
  589. }
  590. //
  591. // C++: float DetectorParameters::aprilTagQuadSigma
  592. //
  593. //javadoc: DetectorParameters::get_aprilTagQuadSigma()
  594. public float get_aprilTagQuadSigma() {
  595. ThrowIfDisposed();
  596. #if (UNITY_ANDROID && !UNITY_EDITOR)
  597. float retVal = aruco_DetectorParameters_get_1aprilTagQuadSigma_10(nativeObj);
  598. return retVal;
  599. #else
  600. return -1;
  601. #endif
  602. }
  603. //
  604. // C++: void DetectorParameters::aprilTagQuadSigma
  605. //
  606. //javadoc: DetectorParameters::set_aprilTagQuadSigma(aprilTagQuadSigma)
  607. public void set_aprilTagQuadSigma(float aprilTagQuadSigma) {
  608. ThrowIfDisposed();
  609. #if (UNITY_ANDROID && !UNITY_EDITOR)
  610. aruco_DetectorParameters_set_1aprilTagQuadSigma_10(nativeObj, aprilTagQuadSigma);
  611. return;
  612. #else
  613. return;
  614. #endif
  615. }
  616. //
  617. // C++: int DetectorParameters::aprilTagMinClusterPixels
  618. //
  619. //javadoc: DetectorParameters::get_aprilTagMinClusterPixels()
  620. public int get_aprilTagMinClusterPixels() {
  621. ThrowIfDisposed();
  622. #if (UNITY_ANDROID && !UNITY_EDITOR)
  623. int retVal = aruco_DetectorParameters_get_1aprilTagMinClusterPixels_10(nativeObj);
  624. return retVal;
  625. #else
  626. return -1;
  627. #endif
  628. }
  629. //
  630. // C++: void DetectorParameters::aprilTagMinClusterPixels
  631. //
  632. //javadoc: DetectorParameters::set_aprilTagMinClusterPixels(aprilTagMinClusterPixels)
  633. public void set_aprilTagMinClusterPixels(int aprilTagMinClusterPixels) {
  634. ThrowIfDisposed();
  635. #if (UNITY_ANDROID && !UNITY_EDITOR)
  636. aruco_DetectorParameters_set_1aprilTagMinClusterPixels_10(nativeObj, aprilTagMinClusterPixels);
  637. return;
  638. #else
  639. return;
  640. #endif
  641. }
  642. //
  643. // C++: int DetectorParameters::aprilTagMaxNmaxima
  644. //
  645. //javadoc: DetectorParameters::get_aprilTagMaxNmaxima()
  646. public int get_aprilTagMaxNmaxima() {
  647. ThrowIfDisposed();
  648. #if (UNITY_ANDROID && !UNITY_EDITOR)
  649. int retVal = aruco_DetectorParameters_get_1aprilTagMaxNmaxima_10(nativeObj);
  650. return retVal;
  651. #else
  652. return -1;
  653. #endif
  654. }
  655. //
  656. // C++: void DetectorParameters::aprilTagMaxNmaxima
  657. //
  658. //javadoc: DetectorParameters::set_aprilTagMaxNmaxima(aprilTagMaxNmaxima)
  659. public void set_aprilTagMaxNmaxima(int aprilTagMaxNmaxima) {
  660. ThrowIfDisposed();
  661. #if (UNITY_ANDROID && !UNITY_EDITOR)
  662. aruco_DetectorParameters_set_1aprilTagMaxNmaxima_10(nativeObj, aprilTagMaxNmaxima);
  663. return;
  664. #else
  665. return;
  666. #endif
  667. }
  668. //
  669. // C++: float DetectorParameters::aprilTagCriticalRad
  670. //
  671. //javadoc: DetectorParameters::get_aprilTagCriticalRad()
  672. public float get_aprilTagCriticalRad() {
  673. ThrowIfDisposed();
  674. #if (UNITY_ANDROID && !UNITY_EDITOR)
  675. float retVal = aruco_DetectorParameters_get_1aprilTagCriticalRad_10(nativeObj);
  676. return retVal;
  677. #else
  678. return -1;
  679. #endif
  680. }
  681. //
  682. // C++: void DetectorParameters::aprilTagCriticalRad
  683. //
  684. //javadoc: DetectorParameters::set_aprilTagCriticalRad(aprilTagCriticalRad)
  685. public void set_aprilTagCriticalRad(float aprilTagCriticalRad) {
  686. ThrowIfDisposed();
  687. #if (UNITY_ANDROID && !UNITY_EDITOR)
  688. aruco_DetectorParameters_set_1aprilTagCriticalRad_10(nativeObj, aprilTagCriticalRad);
  689. return;
  690. #else
  691. return;
  692. #endif
  693. }
  694. //
  695. // C++: float DetectorParameters::aprilTagMaxLineFitMse
  696. //
  697. //javadoc: DetectorParameters::get_aprilTagMaxLineFitMse()
  698. public float get_aprilTagMaxLineFitMse() {
  699. ThrowIfDisposed();
  700. #if (UNITY_ANDROID && !UNITY_EDITOR)
  701. float retVal = aruco_DetectorParameters_get_1aprilTagMaxLineFitMse_10(nativeObj);
  702. return retVal;
  703. #else
  704. return -1;
  705. #endif
  706. }
  707. //
  708. // C++: void DetectorParameters::aprilTagMaxLineFitMse
  709. //
  710. //javadoc: DetectorParameters::set_aprilTagMaxLineFitMse(aprilTagMaxLineFitMse)
  711. public void set_aprilTagMaxLineFitMse(float aprilTagMaxLineFitMse) {
  712. ThrowIfDisposed();
  713. #if (UNITY_ANDROID && !UNITY_EDITOR)
  714. aruco_DetectorParameters_set_1aprilTagMaxLineFitMse_10(nativeObj, aprilTagMaxLineFitMse);
  715. return;
  716. #else
  717. return;
  718. #endif
  719. }
  720. //
  721. // C++: int DetectorParameters::aprilTagMinWhiteBlackDiff
  722. //
  723. //javadoc: DetectorParameters::get_aprilTagMinWhiteBlackDiff()
  724. public int get_aprilTagMinWhiteBlackDiff() {
  725. ThrowIfDisposed();
  726. #if (UNITY_ANDROID && !UNITY_EDITOR)
  727. int retVal = aruco_DetectorParameters_get_1aprilTagMinWhiteBlackDiff_10(nativeObj);
  728. return retVal;
  729. #else
  730. return -1;
  731. #endif
  732. }
  733. //
  734. // C++: void DetectorParameters::aprilTagMinWhiteBlackDiff
  735. //
  736. //javadoc: DetectorParameters::set_aprilTagMinWhiteBlackDiff(aprilTagMinWhiteBlackDiff)
  737. public void set_aprilTagMinWhiteBlackDiff(int aprilTagMinWhiteBlackDiff) {
  738. ThrowIfDisposed();
  739. #if (UNITY_ANDROID && !UNITY_EDITOR)
  740. aruco_DetectorParameters_set_1aprilTagMinWhiteBlackDiff_10(nativeObj, aprilTagMinWhiteBlackDiff);
  741. return;
  742. #else
  743. return;
  744. #endif
  745. }
  746. //
  747. // C++: int DetectorParameters::aprilTagDeglitch
  748. //
  749. //javadoc: DetectorParameters::get_aprilTagDeglitch()
  750. public int get_aprilTagDeglitch() {
  751. ThrowIfDisposed();
  752. #if (UNITY_ANDROID && !UNITY_EDITOR)
  753. int retVal = aruco_DetectorParameters_get_1aprilTagDeglitch_10(nativeObj);
  754. return retVal;
  755. #else
  756. return -1;
  757. #endif
  758. }
  759. //
  760. // C++: void DetectorParameters::aprilTagDeglitch
  761. //
  762. //javadoc: DetectorParameters::set_aprilTagDeglitch(aprilTagDeglitch)
  763. public void set_aprilTagDeglitch(int aprilTagDeglitch) {
  764. ThrowIfDisposed();
  765. #if (UNITY_ANDROID && !UNITY_EDITOR)
  766. aruco_DetectorParameters_set_1aprilTagDeglitch_10(nativeObj, aprilTagDeglitch);
  767. return;
  768. #else
  769. return;
  770. #endif
  771. }
  772. #if (UNITY_ANDROID && !UNITY_EDITOR)
  773. const string LIBNAME = "opencvforunity";
  774. // C++: static Ptr_DetectorParameters cv::aruco::DetectorParameters::create()
  775. [DllImport(LIBNAME)]
  776. private static extern IntPtr aruco_DetectorParameters_create_10();
  777. // C++: int DetectorParameters::adaptiveThreshWinSizeMin
  778. [DllImport(LIBNAME)]
  779. private static extern int aruco_DetectorParameters_get_1adaptiveThreshWinSizeMin_10(IntPtr nativeObj);
  780. // C++: void DetectorParameters::adaptiveThreshWinSizeMin
  781. [DllImport(LIBNAME)]
  782. private static extern void aruco_DetectorParameters_set_1adaptiveThreshWinSizeMin_10(IntPtr nativeObj, int adaptiveThreshWinSizeMin);
  783. // C++: int DetectorParameters::adaptiveThreshWinSizeMax
  784. [DllImport(LIBNAME)]
  785. private static extern int aruco_DetectorParameters_get_1adaptiveThreshWinSizeMax_10(IntPtr nativeObj);
  786. // C++: void DetectorParameters::adaptiveThreshWinSizeMax
  787. [DllImport(LIBNAME)]
  788. private static extern void aruco_DetectorParameters_set_1adaptiveThreshWinSizeMax_10(IntPtr nativeObj, int adaptiveThreshWinSizeMax);
  789. // C++: int DetectorParameters::adaptiveThreshWinSizeStep
  790. [DllImport(LIBNAME)]
  791. private static extern int aruco_DetectorParameters_get_1adaptiveThreshWinSizeStep_10(IntPtr nativeObj);
  792. // C++: void DetectorParameters::adaptiveThreshWinSizeStep
  793. [DllImport(LIBNAME)]
  794. private static extern void aruco_DetectorParameters_set_1adaptiveThreshWinSizeStep_10(IntPtr nativeObj, int adaptiveThreshWinSizeStep);
  795. // C++: double DetectorParameters::adaptiveThreshConstant
  796. [DllImport(LIBNAME)]
  797. private static extern double aruco_DetectorParameters_get_1adaptiveThreshConstant_10(IntPtr nativeObj);
  798. // C++: void DetectorParameters::adaptiveThreshConstant
  799. [DllImport(LIBNAME)]
  800. private static extern void aruco_DetectorParameters_set_1adaptiveThreshConstant_10(IntPtr nativeObj, double adaptiveThreshConstant);
  801. // C++: double DetectorParameters::minMarkerPerimeterRate
  802. [DllImport(LIBNAME)]
  803. private static extern double aruco_DetectorParameters_get_1minMarkerPerimeterRate_10(IntPtr nativeObj);
  804. // C++: void DetectorParameters::minMarkerPerimeterRate
  805. [DllImport(LIBNAME)]
  806. private static extern void aruco_DetectorParameters_set_1minMarkerPerimeterRate_10(IntPtr nativeObj, double minMarkerPerimeterRate);
  807. // C++: double DetectorParameters::maxMarkerPerimeterRate
  808. [DllImport(LIBNAME)]
  809. private static extern double aruco_DetectorParameters_get_1maxMarkerPerimeterRate_10(IntPtr nativeObj);
  810. // C++: void DetectorParameters::maxMarkerPerimeterRate
  811. [DllImport(LIBNAME)]
  812. private static extern void aruco_DetectorParameters_set_1maxMarkerPerimeterRate_10(IntPtr nativeObj, double maxMarkerPerimeterRate);
  813. // C++: double DetectorParameters::polygonalApproxAccuracyRate
  814. [DllImport(LIBNAME)]
  815. private static extern double aruco_DetectorParameters_get_1polygonalApproxAccuracyRate_10(IntPtr nativeObj);
  816. // C++: void DetectorParameters::polygonalApproxAccuracyRate
  817. [DllImport(LIBNAME)]
  818. private static extern void aruco_DetectorParameters_set_1polygonalApproxAccuracyRate_10(IntPtr nativeObj, double polygonalApproxAccuracyRate);
  819. // C++: double DetectorParameters::minCornerDistanceRate
  820. [DllImport(LIBNAME)]
  821. private static extern double aruco_DetectorParameters_get_1minCornerDistanceRate_10(IntPtr nativeObj);
  822. // C++: void DetectorParameters::minCornerDistanceRate
  823. [DllImport(LIBNAME)]
  824. private static extern void aruco_DetectorParameters_set_1minCornerDistanceRate_10(IntPtr nativeObj, double minCornerDistanceRate);
  825. // C++: int DetectorParameters::minDistanceToBorder
  826. [DllImport(LIBNAME)]
  827. private static extern int aruco_DetectorParameters_get_1minDistanceToBorder_10(IntPtr nativeObj);
  828. // C++: void DetectorParameters::minDistanceToBorder
  829. [DllImport(LIBNAME)]
  830. private static extern void aruco_DetectorParameters_set_1minDistanceToBorder_10(IntPtr nativeObj, int minDistanceToBorder);
  831. // C++: double DetectorParameters::minMarkerDistanceRate
  832. [DllImport(LIBNAME)]
  833. private static extern double aruco_DetectorParameters_get_1minMarkerDistanceRate_10(IntPtr nativeObj);
  834. // C++: void DetectorParameters::minMarkerDistanceRate
  835. [DllImport(LIBNAME)]
  836. private static extern void aruco_DetectorParameters_set_1minMarkerDistanceRate_10(IntPtr nativeObj, double minMarkerDistanceRate);
  837. // C++: int DetectorParameters::cornerRefinementMethod
  838. [DllImport(LIBNAME)]
  839. private static extern int aruco_DetectorParameters_get_1cornerRefinementMethod_10(IntPtr nativeObj);
  840. // C++: void DetectorParameters::cornerRefinementMethod
  841. [DllImport(LIBNAME)]
  842. private static extern void aruco_DetectorParameters_set_1cornerRefinementMethod_10(IntPtr nativeObj, int cornerRefinementMethod);
  843. // C++: int DetectorParameters::cornerRefinementWinSize
  844. [DllImport(LIBNAME)]
  845. private static extern int aruco_DetectorParameters_get_1cornerRefinementWinSize_10(IntPtr nativeObj);
  846. // C++: void DetectorParameters::cornerRefinementWinSize
  847. [DllImport(LIBNAME)]
  848. private static extern void aruco_DetectorParameters_set_1cornerRefinementWinSize_10(IntPtr nativeObj, int cornerRefinementWinSize);
  849. // C++: int DetectorParameters::cornerRefinementMaxIterations
  850. [DllImport(LIBNAME)]
  851. private static extern int aruco_DetectorParameters_get_1cornerRefinementMaxIterations_10(IntPtr nativeObj);
  852. // C++: void DetectorParameters::cornerRefinementMaxIterations
  853. [DllImport(LIBNAME)]
  854. private static extern void aruco_DetectorParameters_set_1cornerRefinementMaxIterations_10(IntPtr nativeObj, int cornerRefinementMaxIterations);
  855. // C++: double DetectorParameters::cornerRefinementMinAccuracy
  856. [DllImport(LIBNAME)]
  857. private static extern double aruco_DetectorParameters_get_1cornerRefinementMinAccuracy_10(IntPtr nativeObj);
  858. // C++: void DetectorParameters::cornerRefinementMinAccuracy
  859. [DllImport(LIBNAME)]
  860. private static extern void aruco_DetectorParameters_set_1cornerRefinementMinAccuracy_10(IntPtr nativeObj, double cornerRefinementMinAccuracy);
  861. // C++: int DetectorParameters::markerBorderBits
  862. [DllImport(LIBNAME)]
  863. private static extern int aruco_DetectorParameters_get_1markerBorderBits_10(IntPtr nativeObj);
  864. // C++: void DetectorParameters::markerBorderBits
  865. [DllImport(LIBNAME)]
  866. private static extern void aruco_DetectorParameters_set_1markerBorderBits_10(IntPtr nativeObj, int markerBorderBits);
  867. // C++: int DetectorParameters::perspectiveRemovePixelPerCell
  868. [DllImport(LIBNAME)]
  869. private static extern int aruco_DetectorParameters_get_1perspectiveRemovePixelPerCell_10(IntPtr nativeObj);
  870. // C++: void DetectorParameters::perspectiveRemovePixelPerCell
  871. [DllImport(LIBNAME)]
  872. private static extern void aruco_DetectorParameters_set_1perspectiveRemovePixelPerCell_10(IntPtr nativeObj, int perspectiveRemovePixelPerCell);
  873. // C++: double DetectorParameters::perspectiveRemoveIgnoredMarginPerCell
  874. [DllImport(LIBNAME)]
  875. private static extern double aruco_DetectorParameters_get_1perspectiveRemoveIgnoredMarginPerCell_10(IntPtr nativeObj);
  876. // C++: void DetectorParameters::perspectiveRemoveIgnoredMarginPerCell
  877. [DllImport(LIBNAME)]
  878. private static extern void aruco_DetectorParameters_set_1perspectiveRemoveIgnoredMarginPerCell_10(IntPtr nativeObj, double perspectiveRemoveIgnoredMarginPerCell);
  879. // C++: double DetectorParameters::maxErroneousBitsInBorderRate
  880. [DllImport(LIBNAME)]
  881. private static extern double aruco_DetectorParameters_get_1maxErroneousBitsInBorderRate_10(IntPtr nativeObj);
  882. // C++: void DetectorParameters::maxErroneousBitsInBorderRate
  883. [DllImport(LIBNAME)]
  884. private static extern void aruco_DetectorParameters_set_1maxErroneousBitsInBorderRate_10(IntPtr nativeObj, double maxErroneousBitsInBorderRate);
  885. // C++: double DetectorParameters::minOtsuStdDev
  886. [DllImport(LIBNAME)]
  887. private static extern double aruco_DetectorParameters_get_1minOtsuStdDev_10(IntPtr nativeObj);
  888. // C++: void DetectorParameters::minOtsuStdDev
  889. [DllImport(LIBNAME)]
  890. private static extern void aruco_DetectorParameters_set_1minOtsuStdDev_10(IntPtr nativeObj, double minOtsuStdDev);
  891. // C++: double DetectorParameters::errorCorrectionRate
  892. [DllImport(LIBNAME)]
  893. private static extern double aruco_DetectorParameters_get_1errorCorrectionRate_10(IntPtr nativeObj);
  894. // C++: void DetectorParameters::errorCorrectionRate
  895. [DllImport(LIBNAME)]
  896. private static extern void aruco_DetectorParameters_set_1errorCorrectionRate_10(IntPtr nativeObj, double errorCorrectionRate);
  897. // C++: float DetectorParameters::aprilTagQuadDecimate
  898. [DllImport(LIBNAME)]
  899. private static extern float aruco_DetectorParameters_get_1aprilTagQuadDecimate_10(IntPtr nativeObj);
  900. // C++: void DetectorParameters::aprilTagQuadDecimate
  901. [DllImport(LIBNAME)]
  902. private static extern void aruco_DetectorParameters_set_1aprilTagQuadDecimate_10(IntPtr nativeObj, float aprilTagQuadDecimate);
  903. // C++: float DetectorParameters::aprilTagQuadSigma
  904. [DllImport(LIBNAME)]
  905. private static extern float aruco_DetectorParameters_get_1aprilTagQuadSigma_10(IntPtr nativeObj);
  906. // C++: void DetectorParameters::aprilTagQuadSigma
  907. [DllImport(LIBNAME)]
  908. private static extern void aruco_DetectorParameters_set_1aprilTagQuadSigma_10(IntPtr nativeObj, float aprilTagQuadSigma);
  909. // C++: int DetectorParameters::aprilTagMinClusterPixels
  910. [DllImport(LIBNAME)]
  911. private static extern int aruco_DetectorParameters_get_1aprilTagMinClusterPixels_10(IntPtr nativeObj);
  912. // C++: void DetectorParameters::aprilTagMinClusterPixels
  913. [DllImport(LIBNAME)]
  914. private static extern void aruco_DetectorParameters_set_1aprilTagMinClusterPixels_10(IntPtr nativeObj, int aprilTagMinClusterPixels);
  915. // C++: int DetectorParameters::aprilTagMaxNmaxima
  916. [DllImport(LIBNAME)]
  917. private static extern int aruco_DetectorParameters_get_1aprilTagMaxNmaxima_10(IntPtr nativeObj);
  918. // C++: void DetectorParameters::aprilTagMaxNmaxima
  919. [DllImport(LIBNAME)]
  920. private static extern void aruco_DetectorParameters_set_1aprilTagMaxNmaxima_10(IntPtr nativeObj, int aprilTagMaxNmaxima);
  921. // C++: float DetectorParameters::aprilTagCriticalRad
  922. [DllImport(LIBNAME)]
  923. private static extern float aruco_DetectorParameters_get_1aprilTagCriticalRad_10(IntPtr nativeObj);
  924. // C++: void DetectorParameters::aprilTagCriticalRad
  925. [DllImport(LIBNAME)]
  926. private static extern void aruco_DetectorParameters_set_1aprilTagCriticalRad_10(IntPtr nativeObj, float aprilTagCriticalRad);
  927. // C++: float DetectorParameters::aprilTagMaxLineFitMse
  928. [DllImport(LIBNAME)]
  929. private static extern float aruco_DetectorParameters_get_1aprilTagMaxLineFitMse_10(IntPtr nativeObj);
  930. // C++: void DetectorParameters::aprilTagMaxLineFitMse
  931. [DllImport(LIBNAME)]
  932. private static extern void aruco_DetectorParameters_set_1aprilTagMaxLineFitMse_10(IntPtr nativeObj, float aprilTagMaxLineFitMse);
  933. // C++: int DetectorParameters::aprilTagMinWhiteBlackDiff
  934. [DllImport(LIBNAME)]
  935. private static extern int aruco_DetectorParameters_get_1aprilTagMinWhiteBlackDiff_10(IntPtr nativeObj);
  936. // C++: void DetectorParameters::aprilTagMinWhiteBlackDiff
  937. [DllImport(LIBNAME)]
  938. private static extern void aruco_DetectorParameters_set_1aprilTagMinWhiteBlackDiff_10(IntPtr nativeObj, int aprilTagMinWhiteBlackDiff);
  939. // C++: int DetectorParameters::aprilTagDeglitch
  940. [DllImport(LIBNAME)]
  941. private static extern int aruco_DetectorParameters_get_1aprilTagDeglitch_10(IntPtr nativeObj);
  942. // C++: void DetectorParameters::aprilTagDeglitch
  943. [DllImport(LIBNAME)]
  944. private static extern void aruco_DetectorParameters_set_1aprilTagDeglitch_10(IntPtr nativeObj, int aprilTagDeglitch);
  945. // native support for java finalize()
  946. [DllImport(LIBNAME)]
  947. private static extern void aruco_DetectorParameters_delete(IntPtr nativeObj);
  948. #endif
  949. }
  950. }