21 lines
364 B
C++
21 lines
364 B
C++
#ifndef NETLEARNER_H
|
|
#define NETLEARNER_H
|
|
|
|
#include <QThread>
|
|
|
|
class NetLearner : public QThread
|
|
{
|
|
Q_OBJECT
|
|
|
|
private:
|
|
void run() Q_DECL_OVERRIDE;
|
|
|
|
signals:
|
|
void logMessage(const QString &logMessage);
|
|
void progress(double progress);
|
|
void currentNetError(double error);
|
|
void sampleImageLoaded(const QImage &image);
|
|
};
|
|
|
|
#endif // NETLEARNER_H
|