summaryrefslogtreecommitdiffhomepage
path: root/cv/video-widget.hpp
blob: 9d62f19ec93ff5700da735b3733032c7189c9566 (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
{
    cv_video_widget(QWidget* parent = nullptr);
    void update_image(const cv::Mat& frame);

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