23#include <linux/videodev2.h>
24#include <opencv2/imgproc/imgproc.hpp>
76 {
itsEyeTracker = addSubComponent<EyeTracker>(
"eyetracker"); }
85 static double pupell[5];
102 cv::cvtColor(cvin, cvout, cv::COLOR_YUV2GRAY_YUYV);
111 std::string
const & fpscpu = timer.
stop();
JEVOIS_REGISTER_MODULE(ArUcoBlob)
Pupil detection and eye-tracker using the openEyes toolkit.
std::shared_ptr< EyeTracker > itsEyeTracker
virtual ~DemoEyeTracker()
Virtual destructor for safe inheritance.
DemoEyeTracker(std::string const &instance)
Constructor.
virtual void process(jevois::InputFrame &&inframe, jevois::OutputFrame &&outframe) override
Processing function.
friend friend class Module
void require(char const *info, unsigned int w, unsigned int h, unsigned int f) const
std::string const & stop(double *seconds)
cv::Mat cvImage(RawImage const &src)
void writeText(RawImage &img, std::string const &txt, int x, int y, unsigned int col, Font font=Font6x10)