feat(ocr 识别): 内存错误修改
内存释放问题修改 Log: no Change-Id: I99f0e931f70f455df4891089eb8f18a3532656fd
This commit is contained in:
parent
1a9d907f37
commit
c4c880a5d1
|
@ -94,8 +94,7 @@ int main(int argc, char *argv[])
|
||||||
OcrInterface *pOcr = new OcrInterface("com.deepin.Ocr", "/com/deepin/Ocr", QDBusConnection::sessionBus(), &instance);
|
OcrInterface *pOcr = new OcrInterface("com.deepin.Ocr", "/com/deepin/Ocr", QDBusConnection::sessionBus(), &instance);
|
||||||
qDebug() << __FUNCTION__ << __LINE__;
|
qDebug() << __FUNCTION__ << __LINE__;
|
||||||
pOcr->openFile(QString(argv[1]));
|
pOcr->openFile(QString(argv[1]));
|
||||||
//pOcr->openImage(QImage(QSize(500, 145), QImage::Format_RGB32));
|
delete pOcr;
|
||||||
//pOcr->openImageAndName(QImage(QSize(500, 145), QImage::Format_RGB32),"test");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user