Ejemplo n.º 1
0
  /**
   * 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;
    }
  }
Ejemplo n.º 2
0
 /**
  * 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();
 }