recognizer signal with pixmap added
This commit is contained in:
parent
8fd541973c
commit
a4879c8f91
@ -87,6 +87,7 @@ void Recognizer::recognize(QPixmap pixmap)
|
||||
if (!result.isEmpty ())
|
||||
{
|
||||
emit recognized (result);
|
||||
emit recognized (pixmap, result);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user