Skip to content

[Bug]: To deskew and rotate without performing OCR #1550

@crewqwe123-ship-it

Description

@crewqwe123-ship-it

What were you trying to do?

When processing digital PDFs with text, I want to apply deskew and rotation without performing OCR.

However, --deskew requires --force-ocr, which rasterizes and OCRs the document, increasing processing time significantly.

--redo-ocr is not compatible with --deskew.

As a result, it is inconvenient for workflows where OCR is not needed or takes too long. so if there is any existing workaround or planned support for this use case, that would be helpful to know. Thank you!

Where are you installing/running from?

Wndows package manager (chocolatey, etc.)

OCRmyPDF version

16.10.4

What operating system are you working on?

Windows

Operating system details and version

Windows 11

Simple sanity checks

  • Operating system is currently supported by its vendor (not end of life)
  • Python version is compatible with OCRmyPDF
  • This issue is not about a specific input file

Relevant log output


Metadata

Metadata

Assignees

Labels

triageIssue needs triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions