Skip to content

Is it possible to obtain the Thresholded Image from tesseract? #588

@diogoalmiro

Description

@diogoalmiro

I would like to have access to the thresholded image created by tesseract. (See function: GetThresholdedImage)

This feature is implemented by the tesseract wrapper library for pyton as a function: https://github.com/sirfz/tesserocr/blob/master/tesserocr.pyx#L1737
There is also a parameter that writes the thresholded image to the file "tessinput.tif": "tessedit_write_images".

I am using win10 and NodeJS with some tiff files, setting the parameter "tessedit_write_images" to "T" or "1" does nothing.

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