Comments (4)
Thanks for the report. The image is visually centred in the page, but the page in this PDF is not located at (0, 0) in PDF coordinates, which is allowed but unusual.
I should have a fix working for the next release.
The warning is for an intermediate single page PDF produced by ocrmypdf using PyPDF2, not your input PDF.
A temporary workaround which fixes both issues is to use --force-ocr
. The drawback of using this is that the image will be transcoded, but with a high quality scan and --oversample set you will probably not notice any quality loss.
from ocrmypdf.
Thanks!
Could you please provide the command on the main page how to update/uninstall ocrmypdf HEAD revision from sources?
Because of my weak memory i always
- search for the right command,
- perform it
(sudo pip3 uninstall ocrmypdf)
, and then - follow your installation instructions.
(This is my new memo from now on.)
from ocrmypdf.
Remember I haven't released the change yet, but in one shot you can upgrade without uninstall/reinstall with the following (provided pip is reasonably new, all ducks are sufficiently aligned, enough gods have been sacrificed too):
[sudo] pip3 install --upgrade git+https://github.com/jbarlow83/OCRmyPDF.git
That is buried in the main page, but I will update that to make it clear.
from ocrmypdf.
Fixed in v4.0.
Hopefully.
from ocrmypdf.
Related Issues (20)
- [Bug]: ocrmypdf invoked oom-killer HOT 4
- [Feature]: Not to save images and opaque text HOT 1
- [Bug]: Accented characters not correct in PDF/A output HOT 3
- [Bug]: complete letter salad HOT 2
- I scan the documents with my Brother MFC-L8690CDW and it worked until v15.4.4 HOT 1
- [Bug]: NotImplementedError HOT 8
- [Bug]: OCR gets stuck HOT 4
- [Bug]: OCRmyPDF does not preserve existing XMP metadata HOT 1
- [Bug]: Persian rendering and text positioning errors in 16.0.1 with new renderer HOT 1
- [Bug]: Every PDF I OCR has the text misaligned with the image. HOT 4
- [Bug]: Every PDF I OCR has the text misaligned with the image HOT 7
- [Feature]: Are tesseract scripts supported? HOT 1
- [Bug]: Package 'pngquant' not found, exists on PATH HOT 1
- [Bug]: OCRmyPDF does not preserve existing XMP metadata HOT 3
- [Bug]: PDF graphics stack overflowed spec limit HOT 1
- [Bug]: RHEL 9 requires ghostscript 9.54 to work HOT 6
- [Feature]: Only optimise file, skip OCR completely HOT 2
- [Bug]: Bunch of incomprehensible OCR content to delete HOT 3
- [Bug]: 'File not found' error in latest versions HOT 4
- [Bug]: Conda - pikepdf is unavailable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocrmypdf.