Exemplo n.º 1
0
        /**
         * Given the {code input} frame, create input blob, run net
         * return a vector holding the x and y coordinates of each detected keypoint
         *
         * param frame automatically generated
         */
        public MatOfPoint2f estimate(Mat frame)
        {
            ThrowIfDisposed();
            if (frame != null)
            {
                frame.ThrowIfDisposed();
            }

            return(MatOfPoint2f.fromNativeAddr(dnn_KeypointsModel_estimate_11(nativeObj, frame.nativeObj)));
        }
Exemplo n.º 2
0
        //
        // C++:  vector_Point2f cv::xfeatures2d::PCTSignatures::getSamplingPoints()
        //

        //javadoc: PCTSignatures::getSamplingPoints()
        public MatOfPoint2f getSamplingPoints()
        {
            ThrowIfDisposed();
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            MatOfPoint2f retVal = MatOfPoint2f.fromNativeAddr(xfeatures2d_PCTSignatures_getSamplingPoints_10(nativeObj));

            return(retVal);
#else
            return(null);
#endif
        }
Exemplo n.º 3
0
        //
        // C++:  vector_Point2f cv::xfeatures2d::PCTSignatures::getSamplingPoints()
        //

        /**
         * Initial samples taken from the image.
         * These sampled features become the input for clustering.
         * return automatically generated
         */
        public MatOfPoint2f getSamplingPoints()
        {
            ThrowIfDisposed();

            return(MatOfPoint2f.fromNativeAddr(xfeatures2d_PCTSignatures_getSamplingPoints_10(nativeObj)));
        }