Subversion Repositories seema-scanner

Rev

Rev 100 | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef SMVideoWidget_H
#define SMVideoWidget_H

#include <QLabel>
#include <QResizeEvent>

#include <opencv2/opencv.hpp>

class SMVideoWidget : public QLabel{

    Q_OBJECT
    public:
        explicit SMVideoWidget(QWidget *parent = 0);
    public slots:
        void showImageCV(cv::Mat image);
        void resizeEvent(QResizeEvent *event);
    private:
        QPixmap pixmap;
};

#endif // SMVideoWidget_H