fix memory leak issue.

This commit is contained in:
Calvin 2022-11-26 00:00:18 +08:00
parent bc7fc2cf6c
commit d7961d0b62

View File

@ -116,6 +116,8 @@ public final class OcrV3Recognition {
mat.release();
dstMat.release();
cvmat.release();
srcPoint2f.releaseReference();
dstPoint2f.releaseReference();
return subImg;
}