Skip to content

OCR highlights are flipped in both directions on each page #774

@GaryT-NZ

Description

@GaryT-NZ

The yellow (and green) OCR highlights for searched text are incorrectly positioned - they appear to be flipped both horizontally and vertically on each page

I have a pdf of an old manual that is just scanned, so has no text search - I set up OCR in naps2 and saved it.
I opened it in various pdf readers, and although the text is now searchable, the highlights are all incorrectly positioned, and therefore make it still difficult to find the text. I realised they appear to be flipped on the page. I extracted the highlights by screen capturing and filtering, and overlaid the flipped highlights, and they then appeared correct.

As the file appears when searching for 'adjust' (in Edge):

Image

extracted higlights, flipped horizontally and vertically:

Image

And manually overlaid on the pdf file in Inkscape:

Image

If it helps I can either upload the (large) files, or see if I can pull out one page that demonstrates the issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions