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 ())
|
if (!result.isEmpty ())
|
||||||
{
|
{
|
||||||
emit recognized (result);
|
emit recognized (result);
|
||||||
|
emit recognized (pixmap, result);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user