summaryrefslogtreecommitdiffhomepage
path: root/cv/video-widget.hpp
blob: 54316d3260a9559d9609e065b3d4f88229471056 (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.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;
};