mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
OpenCV with the refactored features2d compiles! contrib is broken for now; the tests are not tried yet
This commit is contained in:
@@ -671,7 +671,7 @@ Mat ToFileMotionWriter::estimate(const Mat &frame0, const Mat &frame1, bool *ok)
|
||||
KeypointBasedMotionEstimator::KeypointBasedMotionEstimator(Ptr<MotionEstimatorBase> estimator)
|
||||
: ImageMotionEstimatorBase(estimator->motionModel()), motionEstimator_(estimator)
|
||||
{
|
||||
setDetector(makePtr<GoodFeaturesToTrackDetector>());
|
||||
setDetector(GFTTDetector::create());
|
||||
setOpticalFlowEstimator(makePtr<SparsePyrLkOptFlowEstimator>());
|
||||
setOutlierRejector(makePtr<NullOutlierRejector>());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user