Android部署ocrV4模型,内存会随着检测照片累计,一直递增,导致程序崩溃。 #12915
Unanswered
honghanh2008
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
public class UIEModel {
protected long mCxxContext = 0L;
protected boolean mInitialized = false;
}
上面是Android端的模型初始化官方代码,暴露的接口好少。我如果需要优化Android端Bitmap这些资源释放,要怎么办呢?
Beta Was this translation helpful? Give feedback.
All reactions