/** * Closes down tesseract and free up all memory. End() is equivalent to destructing and * reconstructing your TessBaseAPI. * * <p>Once End() has been used, none of the other API functions may be used other than Init and * anything declared above it in the class definition. */ public void end() { if (!mRecycled) { nativeEnd(); mRecycled = true; } }
/** * Closes down tesseract and free up all memory. End() is equivalent to destructing and * reconstructing your TessBaseAPI. * * <p>Once End() has been used, none of the other API functions may be used other than Init and * anything declared above it in the class definition. */ public void end() { nativeEnd(); }