You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
426 B
27 lines
426 B
#ifndef DDE_H |
|
#define DDE_H |
|
|
|
#include <QObject> |
|
#include <QThread> |
|
#include <opencv2/opencv.hpp> |
|
|
|
class dde : public QObject |
|
{ |
|
Q_OBJECT |
|
public: |
|
explicit dde(QObject *parent = nullptr); |
|
void setpara(double rate); |
|
void off(); |
|
|
|
public slots: |
|
void slotprocimg(cv::Mat img); |
|
signals: |
|
void signalsendimg(cv::Mat img); |
|
|
|
private: |
|
QThread* thread; |
|
double dderate; |
|
bool ready; |
|
}; |
|
|
|
#endif // DDE_H
|
|
|