Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow orientation detection with any traineddata
While orientation and script detection (OSD) normally requires osd.traineddata to detect both, it must also be possible to do only orientation detection with eng.traineddata or any other traineddata. Enforce osd.traineddata only if there was no `-l` command line option. Commit 27ce472 was too restrictive. Signed-off-by: Stefan Weil <[email protected]>
- Loading branch information