diff --git a/Recognizer.cpp b/Recognizer.cpp index 38cbf99..4a53c4d 100644 --- a/Recognizer.cpp +++ b/Recognizer.cpp @@ -87,6 +87,7 @@ void Recognizer::recognize(QPixmap pixmap) if (!result.isEmpty ()) { emit recognized (result); + emit recognized (pixmap, result); } else { diff --git a/Recognizer.h b/Recognizer.h index 5f54a27..4872b9f 100644 --- a/Recognizer.h +++ b/Recognizer.h @@ -18,6 +18,7 @@ class Recognizer : public QObject signals: void recognized (QString text); + void recognized (QPixmap pixmap, QString text); void error (QString text); public slots: