Skip to content

Conversation

@gwuen
Copy link

@gwuen gwuen commented Jun 19, 2025

The –psm 0 option was ignored by Tesseract because it used an en-dash instead of a hyphen, and only a single dash instead of the required double dash.

Using the correct --psm 0 is also not appropriate, as it triggers "Orientation and script detection (OSD) only", which does not return any text and causes frog to fail.

As a result, the behavior remains unchanged and continues to default to "Fully automatic page segmentation, but no OSD".

The `–psm 0` option was ignored by Tesseract because it used an en-dash
instead of a hyphen, and only a single dash instead of the required
double dash.

Using the correct `--psm 0` is also not appropriate, as it triggers
"Orientation and script detection (OSD) only", which does return any
text and causes frog to fail.

As a result, the behavior remains unchanged and continues to default to
"Fully automatic page segmentation, but no OSD".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant