yang-521

Results 17 comments of yang-521

> 正在解决 PDF 的文本偏移尝试问题。 > > 目前(最新主分支)用`整页强制OCR`模式,可以准确写入所有文本。但`混合OCR`模式会出现写入文本位置不正确的问题。 > > 链接: [异常样本:政治经济学批评_1_10.pdf](https://github.com/hiroi-sora/Umi-OCR/files/14931983/default.pdf) | [#r140847597](https://github.com/hiroi-sora/Umi-OCR/commit/beb9b8ba7833853b5be375ee93e05e3042dba7a6#r140847597) | [beb9b8b](https://github.com/hiroi-sora/Umi-OCR/commit/beb9b8ba7833853b5be375ee93e05e3042dba7a6#r140847597)[第460章](https://github.com/hiroi-sora/Umi-OCR/issues/460) > > * [x] 图像仅偏移 > * [x] 图片仅旋转 > * [ ] 偏移+旋转 这个样本不单是旋转和超越边界的问题,我试了裁剪页面再识别时发现还有个缩放问题.....

If there is no ³, it can be read normally `from libtiff import TIFF path = r"C:\Users\Yang\Desktop\483×55³MDI.tif" image = TIFF.open(path) ` Traceback (most recent call last): File "D:\python\file_tools\test.py", line 5,...

I updated to 0.6.1, but I don't have the libtiff.dll file, I don't know where to download a valid dll file, I once downloaded one, but it doesn't seem to...

I found a dll file that was available, and after testing it still couldn't read the special characters correctly ![image](https://github.com/pearu/pylibtiff/assets/122206917/d586ee65-5eea-4f38-a574-a374cbaf3b3c) When I change the file name to normal, the following...

I tried to use pip install many times, but it was strange that no dll file was generated, I came up with another way to copy the dll file from...

I can not find other problems, but there is a test result let me think that the ASCII encoding problem, I tried to write this file name into the ASCII...

Ok, so does pylibtiff support reading byte objects? I want to avoid file name problems by converting images to byte objects.

I used TIFFfile instead and it reads the special characters normally

I also encountered the same problem use --hidden-import ocrmypdf.builtin_plugins and --copy-metadata Unable to solve the problem, the same error will still occur