Skip to content

Text orientation #1071

@matteodefra

Description

@matteodefra

Explanation

Hello, I have some PDF documents which contains normal text with portrait orientation and a lateral text on the page side which is oriented in landscape mode.
How can I tell PyPDF2 to extract only text that is oriented in portrait mode as the page orientation and to ignore the landscape text?

I attach an image example
Screenshot from 2022-07-07 12-00-54
Basically what I want is to extract the series of "example" above and ignore the three "example" rotated by 90 degrees

Thank you in advance for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions