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.
 
 
 
 
 
 

34 lines
475 B

#ifndef AUTOFLASH_H
#define AUTOFLASH_H
#include <QObject>
#include <QThread>
#include <opencv2/opencv.hpp>
class autoFlash : public QObject
{
Q_OBJECT
public:
explicit autoFlash(QObject *parent = nullptr);
public slots:
void slotprocimg(cv::Mat);
void slotsetshre(double);
signals:
void signalSetIT(double);
private:
QThread* thread;
bool b_sv; //
double lastlight;
int count;
double threshold;
};
#endif // AUTOFLASH_H