Robert Sachunsky
Robert Sachunsky
> The `tesseract` CLI does not set the locale and therefore uses the `C` locale, so it should not have such a problem. The CLI _does_ have that problem, see...
> How do you run `tesseract` to produce a PDF with commas instead of decimal points? I don't see that above. Run with `textord_tabfind_show_vlines=1` (which produces `./vhlinefinding.pdf`) and/or `tessedit_dump_pageseg_images=1` or...
> are you using an older debug build of `tesseract`? That would explain why you get a different result. I had enabled locale setting for debug builds to find bugs...
> See commit [tesseract-ocr/tesseract@7c975a0](https://github.com/tesseract-ocr/tesseract/commit/7c975a0eeeb538a2d920c2ff3419480bf49838d9). Yes, I definitely still have that (and the build was a debug config).
> Can you give an example where leptonica inverts a 1 bpp image? It's difficult, because my source is Tesseract's `GetThresholdedImage` (i.e. a `Pix` without `informat` info) and I need...
> The two files saved as bmp are not readable because the image and file sizes are not commensurate. I see. Don't know BMP at all, but `feh` and `eom`/`eog`...
I see. Could you please try with [the above PNG](https://user-images.githubusercontent.com/38561704/134718316-798e919e-31ac-474f-a792-d1d81ece26d3.png)? This gets inverted by Pillow and `fileinfo` shows: ``` =============================================== Reading the header: input image format type: png w =...
> When leptonica reads an opaque 1 bpp png image with a colormap, it removes the colormap, keeping the pixel values the same. > If the colormap is just black...
Ok, I will, but allow me to understand how usage was meant to work. https://github.com/liberapay/git-lfs-fetch.py/blob/23026ff916065ee113cdc898e2670f6d9587a1a5/git_lfs/__init__.py#L163-L169 Why the `os.rename`? Why even a temporary directory in the first place?
Understood. It would help if you could divulge one concrete example of a call (API or CLI) that used to succeed. I'm sure I can take it from there and...