Neuro/gui/NeuroUI/netlearner.h

27 lines
441 B
C
Raw Normal View History

#ifndef NETLEARNER_H
#define NETLEARNER_H
#include <QThread>
class NetLearner : public QThread
{
Q_OBJECT
private:
bool cancel = false;
private:
void run() Q_DECL_OVERRIDE;
signals:
void logMessage(const QString &logMessage);
2015-10-25 08:51:09 +00:00
void progress(double progress);
void currentNetError(double error);
void sampleImageLoaded(const QImage &image);
public slots:
void cancelLearning();
};
#endif // NETLEARNER_H