Exemplo n.º 1
0
        //javadoc: FarnebackOpticalFlow::create(numLevels, pyrScale, fastPyramids, winSize)
        public static FarnebackOpticalFlow create(int numLevels, double pyrScale, bool fastPyramids, int winSize)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            FarnebackOpticalFlow retVal = FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_14(numLevels, pyrScale, fastPyramids, winSize));

            return(retVal);
#else
            return(null);
#endif
        }
Exemplo n.º 2
0
        //javadoc: FarnebackOpticalFlow::create()
        public static FarnebackOpticalFlow create()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            FarnebackOpticalFlow retVal = FarnebackOpticalFlow.__fromPtr__(video_FarnebackOpticalFlow_create_18());

            return(retVal);
#else
            return(null);
#endif
        }