File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -314,9 +314,16 @@ extern NSInteger const kG8MaxCredibleResolution;
314314 * The config files must exist in one of two
315315 * possible folders: tessdata/tessconfigs or
316316 * tessdata/configs.
317- * @param absoluteDataPath If the absoluteDataPath is specified, Tesseract
318- * will be set to use that path. If nil, the
319- * application bundle will be use instead
317+ * @param absoluteDataPath If specified, Tesseract will be initialized to
318+ * use this path as the path prefix for the
319+ * tessdata folder. Consequently, you must have a
320+ * folder named "tessdata" in this path for
321+ * Tesseract to initialize properly (unless you
322+ * also set the `copyFilesFromResources` flag to
323+ * true, in which case the tessdata folder will
324+ * be created for you in this path). If nil, the
325+ * application bundle will be used instead as the
326+ * path prefix for the tessdata folder.
320327 * @param engineMode The engine mode to use in recognition. See
321328 * `engineMode`.
322329 * @param copyFilesFromResources Flag to determine if Tesseract should copy the
You can’t perform that action at this time.
0 commit comments