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;
JEVOIS_REGISTER_MODULE(ArUcoBlob)
Fast optical flow computation using OF_DIS.
virtual void process(jevois::InputFrame &&inframe, jevois::OutputFrame &&outframe) override
Processing function.
OpticalFlow(std::string const &instance)
Constructor.
virtual ~OpticalFlow()
Virtual destructor for safe inheritance.
friend friend class Module
void require(char const *info, unsigned int w, unsigned int h, unsigned int f) const
cv::Mat cvImage(RawImage const &src)
cv::Mat convertToCvGray(RawImage const &src)