-
PyMuPDF没有1.14.13这个版本,然后就一直报错。File "C:\Users\pxj11\AppData\Local\Programs\Python\Python37\lib\site-packages\fitz\fitz.py", line 2664, in save raise ValueError("cannot save with zero pages")
-
I followed the steps from https://github.com/xiangxw/mupdf-qt up until:
"Open CMakeLists.txt with Qt Creator(Qt5 built with mingw), run cmake and build mupdf-qt".
At this step, when I try to build m…
-
code for pdf
```python
# !pip install cnocr[ort-cpu]
# !pip install PyMuPDF
import fitz
doc = fitz.open('offer.pdf')
from cnocr import CnOcr
from PIL import Image
ocr = CnOcr(det_model_…
-
It appear this error when i run
Traceback (most recent call last):
File "/usr/bin/lector", line 33, in
sys.exit(load_entry_point('lector==0.5.1', 'gui_scripts', 'lector')())
File "/us…
-
python版本:3.12
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Python312\Scripts\nyquisis.exe\__main__.py", line 7, in
…
-
### Description of the bug | 错误描述
发现现在的可视化会有一个bug。
我遇到一个场景,我的PDF通过fitz解析出来rotation=90,但是PDF打开看是正的。
通过这个可视化后,发现所有的框都旋转了90度,而且宽高的比例不确定是不是scale正确。
我尝试使用在所有draw_bbox_with_number函数添加rect_coords = fit…
-
# Summary
Hello,
I am currently using the [ColBERT](https://github.com/stanford-futuredata/ColBERT) model for a work project, which uses faiss. We had pymupdf installed in the same conda environme…
-
Can we add some sort of toggle / support for enabling full page OCR reading via Tesseract, when pymupdf is installed? I hacked around the vendored library in my local virtualenv and made a change in `…
-
```
File "/usr/local/bin/termpdf.py", line 56, in
import fitz
ModuleNotFoundError: No module named 'fitz'
```
This is not listed in setup.py.
-
build fails when compiling, pls help
```
link.o
./link.c: In function ‘docinfo’:
./link.c:367:11: error: ‘FZ_META_INFO_CREATIONDATE’ undeclared (first use in this function); did you mean ‘FZ_MET…