cvedia::rt::iface::MotionDetection¶
Inherits from ModuleImpl, Module
Public Functions¶
| Name | |
|---|---|
| MotionDetection(std::string const & moduleName) | |
| ~MotionDetection() override =default | |
| virtual void | initialize() =0 |
| virtual expected< pCValue > | getDetections() =0 |
| virtual cbuffer | getPreprocessFrame() =0 |
| virtual cbuffer | getPostprocessFrame() =0 |
| virtual expected< pCValue > | getDetection(int id) =0 |
| virtual expected< int > | deleteDetection(int id) =0 |
| virtual expected< int > | deleteDetections() =0 |
| virtual void | setMask(std::vector< std::vector< Point2f > > const & masks, bool inclusion) =0 |
| virtual void | calculateMask() =0 |
| virtual expected< cvec > | detectMotion(iface::Buffer const & buffer) =0 |
Additional inherited members¶
Public Functions inherited from ModuleImpl
| Name | |
|---|---|
| ModuleImpl(std::string moduleName) | |
| virtual void * | getPtr() override |
| virtual void | verifyConfig(pCValue instanceConfig, ConfigCheckResults & configCheckResults) override |
| virtual pCValue | getConfigSpecs() const override |
| virtual std::string const & | getName() const override |
| virtual void | setName(std::string const & name) override |
| virtual void | setParent(iface::Module * parent) override |
| virtual iface::Module * | getParent() const override |
| virtual expected< pCValue > | getValue(std::string const & key, int dictType) const override |
| virtual expected< cvec > | getValue(std::vector< std::string > const & keys, int dictType) const override |
| virtual expected< void > | setValue(std::string const & key, pCValue const & value, int dictType) override |
| virtual expected< void > | setValue(cmap const & values, int dictType) override |
| expected< void > | unsetKey(std::string const & key, int const dictType) |
| virtual expected< std::unique_ptr< iface::CVDictRoot > > | getStateDict() const override |
| virtual expected< std::unique_ptr< iface::CVDictRoot > > | getConfigDict() const override |
| virtual expected< void > | setConfig(pCValue const & conf) const override |
| virtual std::string | getRootNode() const override |
Public Attributes inherited from ModuleImpl
| Name | |
|---|---|
| std::shared_mutex | pluginMut_ |
Public Functions inherited from Module
| Name | |
|---|---|
| Module() =default | |
| virtual | ~Module() =default |
| Module(Module const & other) =default | |
| Module & | operator=(Module const & other) =default |
| Module(Module && other) =default | |
| Module & | operator=(Module && other) =default |
| virtual void * | getPtr() =0 |
| virtual void | verifyConfig(pCValue instanceConfig, ConfigCheckResults & configCheckResults) =0 |
| virtual pCValue | getConfigSpecs() const =0 |
| virtual std::map< std::string, std::shared_ptr< ConfigDescriptor > > | getConfigDescriptors() const |
| virtual std::string const & | getName() const =0 |
| virtual void | setName(std::string const & name) =0 |
| virtual void | stop() |
| virtual void | setParent(iface::Module * ) =0 |
| virtual iface::Module * | getParent() const =0 |
| virtual expected< pCValue > | getValue(std::string const & key, int dictType) const =0 |
| virtual expected< cvec > | getValue(std::vector< std::string > const & keys, int dictType) const =0 |
| virtual expected< void > | setValue(std::string const & key, pCValue const & value, int dictType) =0 |
| virtual expected< void > | setValue(cmap const & values, int dictType) =0 |
| virtual expected< std::unique_ptr< iface::CVDictRoot > > | getStateDict() const =0 |
| virtual expected< std::unique_ptr< iface::CVDictRoot > > | getConfigDict() const =0 |
| virtual expected< void > | setConfig(pCValue const & conf) const =0 |
| virtual std::string | getRootNode() const =0 |
Public Functions Documentation¶
function MotionDetection¶
inline MotionDetection(
std::string const & moduleName
)
function ~MotionDetection¶
~MotionDetection() override =default
function initialize¶
virtual void initialize() =0
function getDetections¶
virtual expected< pCValue > getDetections() =0
function getPreprocessFrame¶
virtual cbuffer getPreprocessFrame() =0
function getPostprocessFrame¶
virtual cbuffer getPostprocessFrame() =0
function getDetection¶
virtual expected< pCValue > getDetection(
int id
) =0
function deleteDetection¶
virtual expected< int > deleteDetection(
int id
) =0
function deleteDetections¶
virtual expected< int > deleteDetections() =0
function setMask¶
virtual void setMask(
std::vector< std::vector< Point2f > > const & masks,
bool inclusion
) =0
function calculateMask¶
virtual void calculateMask() =0
function detectMotion¶
virtual expected< cvec > detectMotion(
iface::Buffer const & buffer
) =0