Motion and tracking
All modules / video
Base class for background/foreground segmentation. :
BackgroundSubtractorKNNclassK-nearest neighbours - based Background/Foreground Segmentation Algorithm.
BackgroundSubtractorMOG2classGaussian Mixture-based Background/Foreground Segmentation Algorithm.
buildOpticalFlowPyramidfunctionConstructs the image pyramid which can be passed to calcOpticalFlowPyrLK.
calcOpticalFlowFarnebackfunctionexample: samples/python/snippets/opt_flow.py
calcOpticalFlowPyrLKfunctionexample: samples/cpp/lkdemo.cpp
CamShiftfunctionFinds an object center, size, and orientation.
computeECCfunctionComputes the Enhanced Correlation Coefficient (ECC) value between two images
createBackgroundSubtractorKNNfunctionCreates KNN Background Subtractor
createBackgroundSubtractorMOG2functionCreates MOG2 Background Subtractor
DenseOpticalFlowclassexample: samples/python/snippets/dis_opt_flow.py
detail_TrackerSamplerCSC_MODEclassTrackerSampler based on CSC (current state centered), used by MIL algorithm TrackerMIL
DISOpticalFlowclassDIS optical flow algorithm.
DISOpticalFlow_createfunctionCreates an instance of DISOpticalFlow
ECCParametersclassstruct ECCParameters is used by findTransformECCMultiScale
FarnebackOpticalFlowclassClass computing a dense optical flow using the Gunnar Farneback's algorithm.
FarnebackOpticalFlow_createfunctionCreate an owned FarnebackOpticalFlow instance with the supplied configuration.
findTransformECCfunctionexample: samples/cpp/image_alignment.cpp
findTransformECC1functionexample: samples/cpp/image_alignment.cpp
findTransformECCMultiScalefunctionFinds the geometric transform (warp) between two images in terms of the ECC criterion [EP08]. Uses pyramids.
findTransformECCWithMaskfunctionFinds the geometric transform (warp) between two images in terms of the ECC criterion [EP08]
KalmanFilterclassexample: samples/cpp/snippets/kalman.cpp
meanShiftfunctionexample: samples/cpp/snippets/camshiftdemo.cpp
readOpticalFlowfunctionRead a .flo file
SparseOpticalFlowclassBase interface for sparse optical flow algorithms.
SparsePyrLKOpticalFlowclassClass used for calculating a sparse optical flow.
SparsePyrLKOpticalFlow_createfunctionCreate an owned SparsePyrLKOpticalFlow instance with the supplied configuration.
TrackerclassBase abstract class for the long-term tracker
TrackerDaSiamRPNclasstracker da siam rpn value in the OpenCV API.
TrackerDaSiamRPN_createfunctionTrackerDaSiamRPN_create: Constructor
TrackerDaSiamRPN_create1functionTrackerDaSiamRPN_create1: Constructor
TrackerDaSiamRPN_Paramsclasstracker da siam rpn params value in the OpenCV API.
TrackerMILclassThe MIL algorithm trains a classifier in an online manner to separate the object from the
TrackerMIL_createfunctionCreate MIL tracker instance
TrackerMIL_Paramsclasstracker mil params value in the OpenCV API.
TrackerNanoclassthe Nano tracker is a super lightweight dnn-based general object tracking.
TrackerNano_createfunctionTrackerNano_create: Constructor
TrackerNano_create1functionTrackerNano_create1: Constructor
TrackerNano_Paramsclasstracker nano params value in the OpenCV API.
TrackerVitclassthe VIT tracker is a super lightweight dnn-based general object tracking.
TrackerVit_createfunctionTrackerVit_create: Constructor
TrackerVit_create1functionTrackerVit_create1: Constructor
TrackerVit_Paramsclasstracker vit params value in the OpenCV API.
VariationalRefinementclassVariational optical flow refinement
VariationalRefinement_createfunctionCreates an instance of VariationalRefinement
writeOpticalFlowfunctionWrite a .flo to disk
No matches. Try an algorithm name, a module, or a shorter phrase.
Constants
Use the named constant from cv. In particular, OpenCV 5 matrix type codes differ from OpenCV 4.
OPTFLOW_USE_INITIAL_FLOWoptflow use initial flow constant (4), defined by OpenCV for cv.
OPTFLOW_LK_GET_MIN_EIGENVALSoptflow lk get min eigenvals constant (8), defined by OpenCV for cv.
OPTFLOW_FARNEBACK_GAUSSIANoptflow farneback gaussian constant (256), defined by OpenCV for cv.
MOTION_TRANSLATIONmotion translation constant (0), defined by OpenCV for cv.
MOTION_EUCLIDEANmotion euclidean constant (1), defined by OpenCV for cv.
MOTION_AFFINEmotion affine constant (2), defined by OpenCV for cv.
MOTION_HOMOGRAPHYmotion homography constant (3), defined by OpenCV for cv.
DISOpticalFlow_PRESET_ULTRAFASTdisoptical flow preset ultrafast constant (0), defined by OpenCV for cv::DISOpticalFlow.
DISOPTICAL_FLOW_PRESET_ULTRAFASTdisoptical flow preset ultrafast constant (0), defined by OpenCV for cv::DISOpticalFlow.
DISOpticalFlow_PRESET_FASTdisoptical flow preset fast constant (1), defined by OpenCV for cv::DISOpticalFlow.
DISOPTICAL_FLOW_PRESET_FASTdisoptical flow preset fast constant (1), defined by OpenCV for cv::DISOpticalFlow.
DISOpticalFlow_PRESET_MEDIUMdisoptical flow preset medium constant (2), defined by OpenCV for cv::DISOpticalFlow.
DISOPTICAL_FLOW_PRESET_MEDIUMdisoptical flow preset medium constant (2), defined by OpenCV for cv::DISOpticalFlow.
detail_TrackerSamplerCSC_MODE_INIT_POSmode for init positive samples
detail_TRACKER_SAMPLER_CSC_MODE_INIT_POSmode for init positive samples
detail_TrackerSamplerCSC_MODE_INIT_NEGmode for init negative samples
detail_TRACKER_SAMPLER_CSC_MODE_INIT_NEGmode for init negative samples
detail_TrackerSamplerCSC_MODE_TRACK_POSmode for update positive samples
detail_TRACKER_SAMPLER_CSC_MODE_TRACK_POSmode for update positive samples
detail_TrackerSamplerCSC_MODE_TRACK_NEGmode for update negative samples
detail_TRACKER_SAMPLER_CSC_MODE_TRACK_NEGmode for update negative samples
detail_TrackerSamplerCSC_MODE_DETECTmode for detect samples
detail_TRACKER_SAMPLER_CSC_MODE_DETECTmode for detect samples