Developer's Documentation for free mobile OCR SDK

Documentation Menu

getExternalAssetsPath method of the EngineSettings interface

Returns the path to the custom directory with the necessary resources.

The program will search for any resource file it needs first in assets, then in the specified custom folder, each time looking in the corresponding subfolder. For example, it will try to locate a pattern file (*.rom) like this:

  1. in assets/patterns
  2. in <custom search path>/patterns
  3. if the file is not found, an error will be returned
String getExternalAssetsPath();

Return values

The method returns the full path to the custom resource files folder.