Skip to content

Option --psm 10 digits are not taken account. #2159

@ruimo

Description

@ruimo

Environment

  • 4.0.0
  • macOS 10.13.3

Current Behavior:

$ tesseract 000.png stdout --psm 10 digits
Warning: Invalid resolution 0 dpi. Using 70 instead.
iL

000.png: 000

Expected Behavior:

Since --psm 10 is specified, the output 'iL' is invalid. A single character should be recognized.
As 'digits' are specified as a config file, 'iL' is invalid. A digit character(0123456789-.) should be recognized.

Suggested Fix:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions