コード例 #1
0
        //javadoc: createERFilterNM1(filename, thresholdDelta, minArea, maxArea, minProbability)
        public static ERFilter createERFilterNM1(string filename, int thresholdDelta, float minArea, float maxArea, float minProbability)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            ERFilter retVal = ERFilter.__fromPtr__(text_Text_createERFilterNM1_12(filename, thresholdDelta, minArea, maxArea, minProbability));

            return(retVal);
#else
            return(null);
#endif
        }
コード例 #2
0
        //javadoc: createERFilterNM2(filename)
        public static ERFilter createERFilterNM2(string filename)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            ERFilter retVal = ERFilter.__fromPtr__(text_Text_createERFilterNM2_11(filename));

            return(retVal);
#else
            return(null);
#endif
        }
コード例 #3
0
ファイル: Text.cs プロジェクト: Bersaelor/FaceMaskUnity
        //
        // C++:  Ptr_ERFilter cv::text::createERFilterNM1(Ptr_ERFilter_Callback cb, int thresholdDelta = 1, float minArea = (float)0.00025, float maxArea = (float)0.13, float minProbability = (float)0.4, bool nonMaxSuppression = true, float minProbabilityDiff = (float)0.1)
        //

        // Unknown type 'Ptr_ERFilter_Callback' (I), skipping the function


        //
        // C++:  Ptr_ERFilter cv::text::createERFilterNM1(String filename, int thresholdDelta = 1, float minArea = (float)0.00025, float maxArea = (float)0.13, float minProbability = (float)0.4, bool nonMaxSuppression = true, float minProbabilityDiff = (float)0.1)
        //

        /**
         * Reads an Extremal Region Filter for the 1st stage classifier of N&M algorithm
         *     from the provided path e.g. /path/to/cpp/trained_classifierNM1.xml
         *
         * param filename automatically generated
         * param thresholdDelta automatically generated
         * param minArea automatically generated
         * param maxArea automatically generated
         * param minProbability automatically generated
         * param nonMaxSuppression automatically generated
         * param minProbabilityDiff automatically generated
         * return automatically generated
         */
        public static ERFilter createERFilterNM1(string filename, int thresholdDelta, float minArea, float maxArea, float minProbability, bool nonMaxSuppression, float minProbabilityDiff)
        {
            return(ERFilter.__fromPtr__(text_Text_createERFilterNM1_10(filename, thresholdDelta, minArea, maxArea, minProbability, nonMaxSuppression, minProbabilityDiff)));
        }
コード例 #4
0
ファイル: Text.cs プロジェクト: Bersaelor/FaceMaskUnity
 /**
  * Reads an Extremal Region Filter for the 2nd stage classifier of N&M algorithm
  *     from the provided path e.g. /path/to/cpp/trained_classifierNM2.xml
  *
  * param filename automatically generated
  * return automatically generated
  */
 public static ERFilter createERFilterNM2(string filename)
 {
     return(ERFilter.__fromPtr__(text_Text_createERFilterNM2_11(filename)));
 }
コード例 #5
0
ファイル: Text.cs プロジェクト: Bersaelor/FaceMaskUnity
        //
        // C++:  Ptr_ERFilter cv::text::createERFilterNM2(Ptr_ERFilter_Callback cb, float minProbability = (float)0.3)
        //

        // Unknown type 'Ptr_ERFilter_Callback' (I), skipping the function


        //
        // C++:  Ptr_ERFilter cv::text::createERFilterNM2(String filename, float minProbability = (float)0.3)
        //

        /**
         * Reads an Extremal Region Filter for the 2nd stage classifier of N&M algorithm
         *     from the provided path e.g. /path/to/cpp/trained_classifierNM2.xml
         *
         * param filename automatically generated
         * param minProbability automatically generated
         * return automatically generated
         */
        public static ERFilter createERFilterNM2(string filename, float minProbability)
        {
            return(ERFilter.__fromPtr__(text_Text_createERFilterNM2_10(filename, minProbability)));
        }
コード例 #6
0
ファイル: Text.cs プロジェクト: Bersaelor/FaceMaskUnity
 /**
  * Reads an Extremal Region Filter for the 1st stage classifier of N&M algorithm
  *     from the provided path e.g. /path/to/cpp/trained_classifierNM1.xml
  *
  * param filename automatically generated
  * param thresholdDelta automatically generated
  * return automatically generated
  */
 public static ERFilter createERFilterNM1(string filename, int thresholdDelta)
 {
     return(ERFilter.__fromPtr__(text_Text_createERFilterNM1_15(filename, thresholdDelta)));
 }
コード例 #7
0
ファイル: Text.cs プロジェクト: Bersaelor/FaceMaskUnity
 /**
  * Reads an Extremal Region Filter for the 1st stage classifier of N&M algorithm
  *     from the provided path e.g. /path/to/cpp/trained_classifierNM1.xml
  *
  * param filename automatically generated
  * param thresholdDelta automatically generated
  * param minArea automatically generated
  * param maxArea automatically generated
  * return automatically generated
  */
 public static ERFilter createERFilterNM1(string filename, int thresholdDelta, float minArea, float maxArea)
 {
     return(ERFilter.__fromPtr__(text_Text_createERFilterNM1_13(filename, thresholdDelta, minArea, maxArea)));
 }