Formatting info is not retained in tesseract4. It was available in 3.0x

On Fri, Dec 27, 2019, 22:29 Scott M. Sanders <[email protected]> wrote:

> I added the following code, which has improved the results. I thought that
> adding 'alto' would create an xml file with formatting information, but it
> didn't work. Is there another way to retain formatting information in
> Tesseract?
>
> config = ("-l fra --oem 1 --psm 1 alto")text = 
> pytesseract.image_to_string(Image.open('readonly/greyscale_noise.jpg'),config=
>  config)
>
> --
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/f2b7bbf7-6f43-4598-8e24-7afac9e1fc38%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/f2b7bbf7-6f43-4598-8e24-7afac9e1fc38%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduX%3DxAUuxHkUSYz3oZccLyvyU2gHeQLMUe_S8CcaJFcbDg%40mail.gmail.com.

Reply via email to