MCPcopy Create free account
hub / github.com/Smorodov/Multitarget-tracker / MotionDetector

Method MotionDetector

src/Detector/MotionDetector.cpp:8–13  ·  view source on GitHub ↗

\brief MotionDetector::MotionDetector \param algType \param gray

Source from the content-addressed store, hash-verified

6/// \param gray
7///
8MotionDetector::MotionDetector(BackgroundSubtract::BGFG_ALGS algType, const cv::UMat& gray)
9 : BaseDetector(gray), m_algType(algType)
10{
11 m_fg.create(gray.size(), CV_8UC1);
12 m_backgroundSubst = std::make_unique<BackgroundSubtract>(algType, gray.channels());
13}
14
15///
16/// \brief MotionDetector::MotionDetector

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected