Skip to content

How to Transfer Text from One PDF to Another with Exact Positioning #180

@ahsan722505

Description

@ahsan722505

My use case is to perform OCR on a PDF. I’m converting each PDF page to an image using Pixmap and then passing it to Tesseract.js for OCR. Tesseract outputs a PDF page with the recognized text placed as an invisible layer. How can I extract this text along with its exact positions and overlay it onto the original PDF?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions