// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2020 Intel Corporation #include "precomp.hpp" #include namespace cv { namespace gapi { using namespace video; GOptFlowLKOutput calcOpticalFlowPyrLK(const GMat &prevImg, const GMat &nextImg, const cv::GArray &prevPts, const cv::GArray &predPts, const Size &winSize, int maxLevel, const TermCriteria &criteria, int flags, double minEigThresh) { return GCalcOptFlowLK::on(prevImg, nextImg, prevPts, predPts, winSize, maxLevel, criteria, flags, minEigThresh); } GOptFlowLKOutput calcOpticalFlowPyrLK(const cv::GArray &prevPyr, const cv::GArray &nextPyr, const cv::GArray &prevPts, const cv::GArray &predPts, const Size &winSize, int maxLevel, const TermCriteria &criteria, int flags, double minEigThresh) { return GCalcOptFlowLKForPyr::on(prevPyr, nextPyr, prevPts, predPts, winSize, maxLevel, criteria, flags, minEigThresh); } } //namespace gapi } //namespace cv