summaryrefslogtreecommitdiffhomepage
path: root/cv/video-widget.hpp
blob: 24f8d7f3a6474db95ba1435e1e8565110438294a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* Copyright (c) 2019 Stanislaw Halik <sthalik@misaki.pl>
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 */

#pragma once

#include "video/video-widget.hpp"
#include <opencv2/core/mat.hpp>

struct cv_video_widget final : video_widget
{
    using video_widget::video_widget;
    void update_image(const cv::Mat& frame);

private:
    cv::Mat frame2, frame3;
};