Пример #1
0
  /**
   * Read a "config" file containing a set of variable, value pairs.
   *
   * <p>Searches the standard places: <i>tessdata/configs, tessdata/tessconfigs</i>. Note: only
   * non-init params will be set.
   *
   * @param filename the configuration filename, without the path
   */
  public void readConfigFile(String filename) {
    if (mRecycled) throw new IllegalStateException();

    nativeReadConfigFile(filename);
  }
Пример #2
0
 /**
  * Read a "config" file containing a set of variable, value pairs. Searches the standard places:
  * <i>tessdata/configs, tessdata/tessconfigs</i>.
  *
  * @param filename the configuration filename, without path
  */
 public void ReadConfigFile(String filename) {
   nativeReadConfigFile(filename);
 }