diff --git a/deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/OCRPredictorNative.java b/deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/OCRPredictorNative.java index 7499d4b92689645c0b1009256884733d392ff68d..c3f319b5f7d4e1cdf85e6d473cbf701efc8d2993 100644 --- a/deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/OCRPredictorNative.java +++ b/deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/OCRPredictorNative.java @@ -63,7 +63,7 @@ public class OCRPredictorNative { protected native float[] forward(long pointer, float[] buf, float[] ddims, Bitmap originalImage); - protected native void destory(long pointer); + protected native void release(long pointer); private ArrayList postprocess(float[] raw) { ArrayList results = new ArrayList();