JeVoisBase
1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
Share this page: |
|
|
|
|
|
|
Go to the documentation of this file.
23 #include <linux/videodev2.h>
78 { itsOpticalFlow = addSubComponent<FastOpticalFlow>(
"fastflow"); }
97 outimg.
require(
"output",
w,
h * 2, V4L2_PIX_FMT_GREY);
101 itsOpticalFlow->process(cvimg, cvout);
108 std::shared_ptr<FastOpticalFlow> itsOpticalFlow;
cv::Mat convertToCvGray(RawImage const &src)
void require(char const *info, unsigned int w, unsigned int h, unsigned int f) const
virtual ~OpticalFlow()
Virtual destructor for safe inheritance.
JEVOIS_REGISTER_MODULE(OpticalFlow)
Fast optical flow computation using OF_DIS.
cv::Mat cvImage(RawImage const &src)
virtual void process(jevois::InputFrame &&inframe, jevois::OutputFrame &&outframe) override
Processing function.
OpticalFlow(std::string const &instance)
Constructor.
friend friend class Module