123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248 |
- using OpenCVForUnity.CoreModule;
- using OpenCVForUnity.UtilsModule;
- using System;
- using System.Collections.Generic;
- using System.Runtime.InteropServices;
- namespace OpenCVForUnity.ObjdetectModule
- {
- // C++: class DetectorParameters
- /**
- * struct DetectorParameters is used by ArucoDetector
- */
- public class DetectorParameters : DisposableOpenCVObject
- {
- protected override void Dispose(bool disposing)
- {
- try
- {
- if (disposing)
- {
- }
- if (IsEnabledDispose)
- {
- if (nativeObj != IntPtr.Zero)
- objdetect_DetectorParameters_delete(nativeObj);
- nativeObj = IntPtr.Zero;
- }
- }
- finally
- {
- base.Dispose(disposing);
- }
- }
- protected internal DetectorParameters(IntPtr addr) : base(addr) { }
- public IntPtr getNativeObjAddr() { return nativeObj; }
- // internal usage only
- public static DetectorParameters __fromPtr__(IntPtr addr) { return new DetectorParameters(addr); }
- //
- // C++: cv::aruco::DetectorParameters::DetectorParameters()
- //
- public DetectorParameters()
- {
- nativeObj = DisposableObject.ThrowIfNullIntPtr(objdetect_DetectorParameters_DetectorParameters_10());
- }
- //
- // C++: bool cv::aruco::DetectorParameters::readDetectorParameters(FileNode fn)
- //
- // Unknown type 'FileNode' (I), skipping the function
- //
- // C++: bool cv::aruco::DetectorParameters::writeDetectorParameters(FileStorage fs, String name = String())
- //
- // Unknown type 'FileStorage' (I), skipping the function
- //
- // C++: int DetectorParameters::adaptiveThreshWinSizeMin
- //
- public int get_adaptiveThreshWinSizeMin()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1adaptiveThreshWinSizeMin_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::adaptiveThreshWinSizeMin
- //
- public void set_adaptiveThreshWinSizeMin(int adaptiveThreshWinSizeMin)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1adaptiveThreshWinSizeMin_10(nativeObj, adaptiveThreshWinSizeMin);
- }
- //
- // C++: int DetectorParameters::adaptiveThreshWinSizeMax
- //
- public int get_adaptiveThreshWinSizeMax()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1adaptiveThreshWinSizeMax_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::adaptiveThreshWinSizeMax
- //
- public void set_adaptiveThreshWinSizeMax(int adaptiveThreshWinSizeMax)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1adaptiveThreshWinSizeMax_10(nativeObj, adaptiveThreshWinSizeMax);
- }
- //
- // C++: int DetectorParameters::adaptiveThreshWinSizeStep
- //
- public int get_adaptiveThreshWinSizeStep()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1adaptiveThreshWinSizeStep_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::adaptiveThreshWinSizeStep
- //
- public void set_adaptiveThreshWinSizeStep(int adaptiveThreshWinSizeStep)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1adaptiveThreshWinSizeStep_10(nativeObj, adaptiveThreshWinSizeStep);
- }
- //
- // C++: double DetectorParameters::adaptiveThreshConstant
- //
- public double get_adaptiveThreshConstant()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1adaptiveThreshConstant_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::adaptiveThreshConstant
- //
- public void set_adaptiveThreshConstant(double adaptiveThreshConstant)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1adaptiveThreshConstant_10(nativeObj, adaptiveThreshConstant);
- }
- //
- // C++: double DetectorParameters::minMarkerPerimeterRate
- //
- public double get_minMarkerPerimeterRate()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1minMarkerPerimeterRate_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::minMarkerPerimeterRate
- //
- public void set_minMarkerPerimeterRate(double minMarkerPerimeterRate)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1minMarkerPerimeterRate_10(nativeObj, minMarkerPerimeterRate);
- }
- //
- // C++: double DetectorParameters::maxMarkerPerimeterRate
- //
- public double get_maxMarkerPerimeterRate()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1maxMarkerPerimeterRate_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::maxMarkerPerimeterRate
- //
- public void set_maxMarkerPerimeterRate(double maxMarkerPerimeterRate)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1maxMarkerPerimeterRate_10(nativeObj, maxMarkerPerimeterRate);
- }
- //
- // C++: double DetectorParameters::polygonalApproxAccuracyRate
- //
- public double get_polygonalApproxAccuracyRate()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1polygonalApproxAccuracyRate_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::polygonalApproxAccuracyRate
- //
- public void set_polygonalApproxAccuracyRate(double polygonalApproxAccuracyRate)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1polygonalApproxAccuracyRate_10(nativeObj, polygonalApproxAccuracyRate);
- }
- //
- // C++: double DetectorParameters::minCornerDistanceRate
- //
- public double get_minCornerDistanceRate()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1minCornerDistanceRate_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::minCornerDistanceRate
- //
- public void set_minCornerDistanceRate(double minCornerDistanceRate)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1minCornerDistanceRate_10(nativeObj, minCornerDistanceRate);
- }
- //
- // C++: int DetectorParameters::minDistanceToBorder
- //
- public int get_minDistanceToBorder()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1minDistanceToBorder_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::minDistanceToBorder
- //
- public void set_minDistanceToBorder(int minDistanceToBorder)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1minDistanceToBorder_10(nativeObj, minDistanceToBorder);
- }
- //
- // C++: double DetectorParameters::minMarkerDistanceRate
- //
- public double get_minMarkerDistanceRate()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1minMarkerDistanceRate_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::minMarkerDistanceRate
- //
- public void set_minMarkerDistanceRate(double minMarkerDistanceRate)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1minMarkerDistanceRate_10(nativeObj, minMarkerDistanceRate);
- }
- //
- // C++: int DetectorParameters::cornerRefinementMethod
- //
- public int get_cornerRefinementMethod()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1cornerRefinementMethod_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::cornerRefinementMethod
- //
- public void set_cornerRefinementMethod(int cornerRefinementMethod)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1cornerRefinementMethod_10(nativeObj, cornerRefinementMethod);
- }
- //
- // C++: int DetectorParameters::cornerRefinementWinSize
- //
- public int get_cornerRefinementWinSize()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1cornerRefinementWinSize_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::cornerRefinementWinSize
- //
- public void set_cornerRefinementWinSize(int cornerRefinementWinSize)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1cornerRefinementWinSize_10(nativeObj, cornerRefinementWinSize);
- }
- //
- // C++: int DetectorParameters::cornerRefinementMaxIterations
- //
- public int get_cornerRefinementMaxIterations()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1cornerRefinementMaxIterations_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::cornerRefinementMaxIterations
- //
- public void set_cornerRefinementMaxIterations(int cornerRefinementMaxIterations)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1cornerRefinementMaxIterations_10(nativeObj, cornerRefinementMaxIterations);
- }
- //
- // C++: double DetectorParameters::cornerRefinementMinAccuracy
- //
- public double get_cornerRefinementMinAccuracy()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1cornerRefinementMinAccuracy_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::cornerRefinementMinAccuracy
- //
- public void set_cornerRefinementMinAccuracy(double cornerRefinementMinAccuracy)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1cornerRefinementMinAccuracy_10(nativeObj, cornerRefinementMinAccuracy);
- }
- //
- // C++: int DetectorParameters::markerBorderBits
- //
- public int get_markerBorderBits()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1markerBorderBits_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::markerBorderBits
- //
- public void set_markerBorderBits(int markerBorderBits)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1markerBorderBits_10(nativeObj, markerBorderBits);
- }
- //
- // C++: int DetectorParameters::perspectiveRemovePixelPerCell
- //
- public int get_perspectiveRemovePixelPerCell()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1perspectiveRemovePixelPerCell_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::perspectiveRemovePixelPerCell
- //
- public void set_perspectiveRemovePixelPerCell(int perspectiveRemovePixelPerCell)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1perspectiveRemovePixelPerCell_10(nativeObj, perspectiveRemovePixelPerCell);
- }
- //
- // C++: double DetectorParameters::perspectiveRemoveIgnoredMarginPerCell
- //
- public double get_perspectiveRemoveIgnoredMarginPerCell()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1perspectiveRemoveIgnoredMarginPerCell_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::perspectiveRemoveIgnoredMarginPerCell
- //
- public void set_perspectiveRemoveIgnoredMarginPerCell(double perspectiveRemoveIgnoredMarginPerCell)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1perspectiveRemoveIgnoredMarginPerCell_10(nativeObj, perspectiveRemoveIgnoredMarginPerCell);
- }
- //
- // C++: double DetectorParameters::maxErroneousBitsInBorderRate
- //
- public double get_maxErroneousBitsInBorderRate()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1maxErroneousBitsInBorderRate_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::maxErroneousBitsInBorderRate
- //
- public void set_maxErroneousBitsInBorderRate(double maxErroneousBitsInBorderRate)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1maxErroneousBitsInBorderRate_10(nativeObj, maxErroneousBitsInBorderRate);
- }
- //
- // C++: double DetectorParameters::minOtsuStdDev
- //
- public double get_minOtsuStdDev()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1minOtsuStdDev_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::minOtsuStdDev
- //
- public void set_minOtsuStdDev(double minOtsuStdDev)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1minOtsuStdDev_10(nativeObj, minOtsuStdDev);
- }
- //
- // C++: double DetectorParameters::errorCorrectionRate
- //
- public double get_errorCorrectionRate()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1errorCorrectionRate_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::errorCorrectionRate
- //
- public void set_errorCorrectionRate(double errorCorrectionRate)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1errorCorrectionRate_10(nativeObj, errorCorrectionRate);
- }
- //
- // C++: float DetectorParameters::aprilTagQuadDecimate
- //
- public float get_aprilTagQuadDecimate()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1aprilTagQuadDecimate_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::aprilTagQuadDecimate
- //
- public void set_aprilTagQuadDecimate(float aprilTagQuadDecimate)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1aprilTagQuadDecimate_10(nativeObj, aprilTagQuadDecimate);
- }
- //
- // C++: float DetectorParameters::aprilTagQuadSigma
- //
- public float get_aprilTagQuadSigma()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1aprilTagQuadSigma_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::aprilTagQuadSigma
- //
- public void set_aprilTagQuadSigma(float aprilTagQuadSigma)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1aprilTagQuadSigma_10(nativeObj, aprilTagQuadSigma);
- }
- //
- // C++: int DetectorParameters::aprilTagMinClusterPixels
- //
- public int get_aprilTagMinClusterPixels()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1aprilTagMinClusterPixels_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::aprilTagMinClusterPixels
- //
- public void set_aprilTagMinClusterPixels(int aprilTagMinClusterPixels)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1aprilTagMinClusterPixels_10(nativeObj, aprilTagMinClusterPixels);
- }
- //
- // C++: int DetectorParameters::aprilTagMaxNmaxima
- //
- public int get_aprilTagMaxNmaxima()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1aprilTagMaxNmaxima_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::aprilTagMaxNmaxima
- //
- public void set_aprilTagMaxNmaxima(int aprilTagMaxNmaxima)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1aprilTagMaxNmaxima_10(nativeObj, aprilTagMaxNmaxima);
- }
- //
- // C++: float DetectorParameters::aprilTagCriticalRad
- //
- public float get_aprilTagCriticalRad()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1aprilTagCriticalRad_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::aprilTagCriticalRad
- //
- public void set_aprilTagCriticalRad(float aprilTagCriticalRad)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1aprilTagCriticalRad_10(nativeObj, aprilTagCriticalRad);
- }
- //
- // C++: float DetectorParameters::aprilTagMaxLineFitMse
- //
- public float get_aprilTagMaxLineFitMse()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1aprilTagMaxLineFitMse_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::aprilTagMaxLineFitMse
- //
- public void set_aprilTagMaxLineFitMse(float aprilTagMaxLineFitMse)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1aprilTagMaxLineFitMse_10(nativeObj, aprilTagMaxLineFitMse);
- }
- //
- // C++: int DetectorParameters::aprilTagMinWhiteBlackDiff
- //
- public int get_aprilTagMinWhiteBlackDiff()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1aprilTagMinWhiteBlackDiff_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::aprilTagMinWhiteBlackDiff
- //
- public void set_aprilTagMinWhiteBlackDiff(int aprilTagMinWhiteBlackDiff)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1aprilTagMinWhiteBlackDiff_10(nativeObj, aprilTagMinWhiteBlackDiff);
- }
- //
- // C++: int DetectorParameters::aprilTagDeglitch
- //
- public int get_aprilTagDeglitch()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1aprilTagDeglitch_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::aprilTagDeglitch
- //
- public void set_aprilTagDeglitch(int aprilTagDeglitch)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1aprilTagDeglitch_10(nativeObj, aprilTagDeglitch);
- }
- //
- // C++: bool DetectorParameters::detectInvertedMarker
- //
- public bool get_detectInvertedMarker()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1detectInvertedMarker_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::detectInvertedMarker
- //
- public void set_detectInvertedMarker(bool detectInvertedMarker)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1detectInvertedMarker_10(nativeObj, detectInvertedMarker);
- }
- //
- // C++: bool DetectorParameters::useAruco3Detection
- //
- public bool get_useAruco3Detection()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1useAruco3Detection_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::useAruco3Detection
- //
- public void set_useAruco3Detection(bool useAruco3Detection)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1useAruco3Detection_10(nativeObj, useAruco3Detection);
- }
- //
- // C++: int DetectorParameters::minSideLengthCanonicalImg
- //
- public int get_minSideLengthCanonicalImg()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1minSideLengthCanonicalImg_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::minSideLengthCanonicalImg
- //
- public void set_minSideLengthCanonicalImg(int minSideLengthCanonicalImg)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1minSideLengthCanonicalImg_10(nativeObj, minSideLengthCanonicalImg);
- }
- //
- // C++: float DetectorParameters::minMarkerLengthRatioOriginalImg
- //
- public float get_minMarkerLengthRatioOriginalImg()
- {
- ThrowIfDisposed();
- return objdetect_DetectorParameters_get_1minMarkerLengthRatioOriginalImg_10(nativeObj);
- }
- //
- // C++: void DetectorParameters::minMarkerLengthRatioOriginalImg
- //
- public void set_minMarkerLengthRatioOriginalImg(float minMarkerLengthRatioOriginalImg)
- {
- ThrowIfDisposed();
- objdetect_DetectorParameters_set_1minMarkerLengthRatioOriginalImg_10(nativeObj, minMarkerLengthRatioOriginalImg);
- }
- #if (UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR
- const string LIBNAME = "__Internal";
- #else
- const string LIBNAME = "opencvforunity";
- #endif
- // C++: cv::aruco::DetectorParameters::DetectorParameters()
- [DllImport(LIBNAME)]
- private static extern IntPtr objdetect_DetectorParameters_DetectorParameters_10();
- // C++: int DetectorParameters::adaptiveThreshWinSizeMin
- [DllImport(LIBNAME)]
- private static extern int objdetect_DetectorParameters_get_1adaptiveThreshWinSizeMin_10(IntPtr nativeObj);
- // C++: void DetectorParameters::adaptiveThreshWinSizeMin
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1adaptiveThreshWinSizeMin_10(IntPtr nativeObj, int adaptiveThreshWinSizeMin);
- // C++: int DetectorParameters::adaptiveThreshWinSizeMax
- [DllImport(LIBNAME)]
- private static extern int objdetect_DetectorParameters_get_1adaptiveThreshWinSizeMax_10(IntPtr nativeObj);
- // C++: void DetectorParameters::adaptiveThreshWinSizeMax
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1adaptiveThreshWinSizeMax_10(IntPtr nativeObj, int adaptiveThreshWinSizeMax);
- // C++: int DetectorParameters::adaptiveThreshWinSizeStep
- [DllImport(LIBNAME)]
- private static extern int objdetect_DetectorParameters_get_1adaptiveThreshWinSizeStep_10(IntPtr nativeObj);
- // C++: void DetectorParameters::adaptiveThreshWinSizeStep
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1adaptiveThreshWinSizeStep_10(IntPtr nativeObj, int adaptiveThreshWinSizeStep);
- // C++: double DetectorParameters::adaptiveThreshConstant
- [DllImport(LIBNAME)]
- private static extern double objdetect_DetectorParameters_get_1adaptiveThreshConstant_10(IntPtr nativeObj);
- // C++: void DetectorParameters::adaptiveThreshConstant
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1adaptiveThreshConstant_10(IntPtr nativeObj, double adaptiveThreshConstant);
- // C++: double DetectorParameters::minMarkerPerimeterRate
- [DllImport(LIBNAME)]
- private static extern double objdetect_DetectorParameters_get_1minMarkerPerimeterRate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::minMarkerPerimeterRate
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1minMarkerPerimeterRate_10(IntPtr nativeObj, double minMarkerPerimeterRate);
- // C++: double DetectorParameters::maxMarkerPerimeterRate
- [DllImport(LIBNAME)]
- private static extern double objdetect_DetectorParameters_get_1maxMarkerPerimeterRate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::maxMarkerPerimeterRate
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1maxMarkerPerimeterRate_10(IntPtr nativeObj, double maxMarkerPerimeterRate);
- // C++: double DetectorParameters::polygonalApproxAccuracyRate
- [DllImport(LIBNAME)]
- private static extern double objdetect_DetectorParameters_get_1polygonalApproxAccuracyRate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::polygonalApproxAccuracyRate
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1polygonalApproxAccuracyRate_10(IntPtr nativeObj, double polygonalApproxAccuracyRate);
- // C++: double DetectorParameters::minCornerDistanceRate
- [DllImport(LIBNAME)]
- private static extern double objdetect_DetectorParameters_get_1minCornerDistanceRate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::minCornerDistanceRate
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1minCornerDistanceRate_10(IntPtr nativeObj, double minCornerDistanceRate);
- // C++: int DetectorParameters::minDistanceToBorder
- [DllImport(LIBNAME)]
- private static extern int objdetect_DetectorParameters_get_1minDistanceToBorder_10(IntPtr nativeObj);
- // C++: void DetectorParameters::minDistanceToBorder
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1minDistanceToBorder_10(IntPtr nativeObj, int minDistanceToBorder);
- // C++: double DetectorParameters::minMarkerDistanceRate
- [DllImport(LIBNAME)]
- private static extern double objdetect_DetectorParameters_get_1minMarkerDistanceRate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::minMarkerDistanceRate
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1minMarkerDistanceRate_10(IntPtr nativeObj, double minMarkerDistanceRate);
- // C++: int DetectorParameters::cornerRefinementMethod
- [DllImport(LIBNAME)]
- private static extern int objdetect_DetectorParameters_get_1cornerRefinementMethod_10(IntPtr nativeObj);
- // C++: void DetectorParameters::cornerRefinementMethod
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1cornerRefinementMethod_10(IntPtr nativeObj, int cornerRefinementMethod);
- // C++: int DetectorParameters::cornerRefinementWinSize
- [DllImport(LIBNAME)]
- private static extern int objdetect_DetectorParameters_get_1cornerRefinementWinSize_10(IntPtr nativeObj);
- // C++: void DetectorParameters::cornerRefinementWinSize
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1cornerRefinementWinSize_10(IntPtr nativeObj, int cornerRefinementWinSize);
- // C++: int DetectorParameters::cornerRefinementMaxIterations
- [DllImport(LIBNAME)]
- private static extern int objdetect_DetectorParameters_get_1cornerRefinementMaxIterations_10(IntPtr nativeObj);
- // C++: void DetectorParameters::cornerRefinementMaxIterations
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1cornerRefinementMaxIterations_10(IntPtr nativeObj, int cornerRefinementMaxIterations);
- // C++: double DetectorParameters::cornerRefinementMinAccuracy
- [DllImport(LIBNAME)]
- private static extern double objdetect_DetectorParameters_get_1cornerRefinementMinAccuracy_10(IntPtr nativeObj);
- // C++: void DetectorParameters::cornerRefinementMinAccuracy
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1cornerRefinementMinAccuracy_10(IntPtr nativeObj, double cornerRefinementMinAccuracy);
- // C++: int DetectorParameters::markerBorderBits
- [DllImport(LIBNAME)]
- private static extern int objdetect_DetectorParameters_get_1markerBorderBits_10(IntPtr nativeObj);
- // C++: void DetectorParameters::markerBorderBits
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1markerBorderBits_10(IntPtr nativeObj, int markerBorderBits);
- // C++: int DetectorParameters::perspectiveRemovePixelPerCell
- [DllImport(LIBNAME)]
- private static extern int objdetect_DetectorParameters_get_1perspectiveRemovePixelPerCell_10(IntPtr nativeObj);
- // C++: void DetectorParameters::perspectiveRemovePixelPerCell
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1perspectiveRemovePixelPerCell_10(IntPtr nativeObj, int perspectiveRemovePixelPerCell);
- // C++: double DetectorParameters::perspectiveRemoveIgnoredMarginPerCell
- [DllImport(LIBNAME)]
- private static extern double objdetect_DetectorParameters_get_1perspectiveRemoveIgnoredMarginPerCell_10(IntPtr nativeObj);
- // C++: void DetectorParameters::perspectiveRemoveIgnoredMarginPerCell
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1perspectiveRemoveIgnoredMarginPerCell_10(IntPtr nativeObj, double perspectiveRemoveIgnoredMarginPerCell);
- // C++: double DetectorParameters::maxErroneousBitsInBorderRate
- [DllImport(LIBNAME)]
- private static extern double objdetect_DetectorParameters_get_1maxErroneousBitsInBorderRate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::maxErroneousBitsInBorderRate
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1maxErroneousBitsInBorderRate_10(IntPtr nativeObj, double maxErroneousBitsInBorderRate);
- // C++: double DetectorParameters::minOtsuStdDev
- [DllImport(LIBNAME)]
- private static extern double objdetect_DetectorParameters_get_1minOtsuStdDev_10(IntPtr nativeObj);
- // C++: void DetectorParameters::minOtsuStdDev
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1minOtsuStdDev_10(IntPtr nativeObj, double minOtsuStdDev);
- // C++: double DetectorParameters::errorCorrectionRate
- [DllImport(LIBNAME)]
- private static extern double objdetect_DetectorParameters_get_1errorCorrectionRate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::errorCorrectionRate
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1errorCorrectionRate_10(IntPtr nativeObj, double errorCorrectionRate);
- // C++: float DetectorParameters::aprilTagQuadDecimate
- [DllImport(LIBNAME)]
- private static extern float objdetect_DetectorParameters_get_1aprilTagQuadDecimate_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagQuadDecimate
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1aprilTagQuadDecimate_10(IntPtr nativeObj, float aprilTagQuadDecimate);
- // C++: float DetectorParameters::aprilTagQuadSigma
- [DllImport(LIBNAME)]
- private static extern float objdetect_DetectorParameters_get_1aprilTagQuadSigma_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagQuadSigma
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1aprilTagQuadSigma_10(IntPtr nativeObj, float aprilTagQuadSigma);
- // C++: int DetectorParameters::aprilTagMinClusterPixels
- [DllImport(LIBNAME)]
- private static extern int objdetect_DetectorParameters_get_1aprilTagMinClusterPixels_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagMinClusterPixels
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1aprilTagMinClusterPixels_10(IntPtr nativeObj, int aprilTagMinClusterPixels);
- // C++: int DetectorParameters::aprilTagMaxNmaxima
- [DllImport(LIBNAME)]
- private static extern int objdetect_DetectorParameters_get_1aprilTagMaxNmaxima_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagMaxNmaxima
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1aprilTagMaxNmaxima_10(IntPtr nativeObj, int aprilTagMaxNmaxima);
- // C++: float DetectorParameters::aprilTagCriticalRad
- [DllImport(LIBNAME)]
- private static extern float objdetect_DetectorParameters_get_1aprilTagCriticalRad_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagCriticalRad
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1aprilTagCriticalRad_10(IntPtr nativeObj, float aprilTagCriticalRad);
- // C++: float DetectorParameters::aprilTagMaxLineFitMse
- [DllImport(LIBNAME)]
- private static extern float objdetect_DetectorParameters_get_1aprilTagMaxLineFitMse_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagMaxLineFitMse
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1aprilTagMaxLineFitMse_10(IntPtr nativeObj, float aprilTagMaxLineFitMse);
- // C++: int DetectorParameters::aprilTagMinWhiteBlackDiff
- [DllImport(LIBNAME)]
- private static extern int objdetect_DetectorParameters_get_1aprilTagMinWhiteBlackDiff_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagMinWhiteBlackDiff
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1aprilTagMinWhiteBlackDiff_10(IntPtr nativeObj, int aprilTagMinWhiteBlackDiff);
- // C++: int DetectorParameters::aprilTagDeglitch
- [DllImport(LIBNAME)]
- private static extern int objdetect_DetectorParameters_get_1aprilTagDeglitch_10(IntPtr nativeObj);
- // C++: void DetectorParameters::aprilTagDeglitch
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1aprilTagDeglitch_10(IntPtr nativeObj, int aprilTagDeglitch);
- // C++: bool DetectorParameters::detectInvertedMarker
- [DllImport(LIBNAME)]
- [return: MarshalAs(UnmanagedType.U1)]
- private static extern bool objdetect_DetectorParameters_get_1detectInvertedMarker_10(IntPtr nativeObj);
- // C++: void DetectorParameters::detectInvertedMarker
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1detectInvertedMarker_10(IntPtr nativeObj, [MarshalAs(UnmanagedType.U1)] bool detectInvertedMarker);
- // C++: bool DetectorParameters::useAruco3Detection
- [DllImport(LIBNAME)]
- [return: MarshalAs(UnmanagedType.U1)]
- private static extern bool objdetect_DetectorParameters_get_1useAruco3Detection_10(IntPtr nativeObj);
- // C++: void DetectorParameters::useAruco3Detection
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1useAruco3Detection_10(IntPtr nativeObj, [MarshalAs(UnmanagedType.U1)] bool useAruco3Detection);
- // C++: int DetectorParameters::minSideLengthCanonicalImg
- [DllImport(LIBNAME)]
- private static extern int objdetect_DetectorParameters_get_1minSideLengthCanonicalImg_10(IntPtr nativeObj);
- // C++: void DetectorParameters::minSideLengthCanonicalImg
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1minSideLengthCanonicalImg_10(IntPtr nativeObj, int minSideLengthCanonicalImg);
- // C++: float DetectorParameters::minMarkerLengthRatioOriginalImg
- [DllImport(LIBNAME)]
- private static extern float objdetect_DetectorParameters_get_1minMarkerLengthRatioOriginalImg_10(IntPtr nativeObj);
- // C++: void DetectorParameters::minMarkerLengthRatioOriginalImg
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_set_1minMarkerLengthRatioOriginalImg_10(IntPtr nativeObj, float minMarkerLengthRatioOriginalImg);
- // native support for java finalize()
- [DllImport(LIBNAME)]
- private static extern void objdetect_DetectorParameters_delete(IntPtr nativeObj);
- }
- }
|