recognizer signal with pixmap added

This commit is contained in:
msn 2013-11-24 21:26:36 +04:00
parent 8fd541973c
commit a4879c8f91
2 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,7 @@ void Recognizer::recognize(QPixmap pixmap)
if (!result.isEmpty ()) if (!result.isEmpty ())
{ {
emit recognized (result); emit recognized (result);
emit recognized (pixmap, result);
} }
else else
{ {

View File

@ -18,6 +18,7 @@ class Recognizer : public QObject
signals: signals:
void recognized (QString text); void recognized (QString text);
void recognized (QPixmap pixmap, QString text);
void error (QString text); void error (QString text);
public slots: public slots: