I want to detect the angle of rotation and extract text from the rotated pdf.
tried using PyPDF2 but it is not able to detect the rotation.
I dont want to convert pdf to image for this purpose.
Please help.
Asked
Active
Viewed 686 times
1

Senthil Vikram Vodapalli
- 526
- 7
- 14

Aditya Yardi
- 11
- 2
-
This probably already has an answer here [here](https://stackoverflow.com/questions/34515674/how-to-detect-a-rotated-page-in-a-pdf-document-in-python). You need to use the `/Rotate` attribute. – mahieyin-rahmun Feb 23 '21 at 13:26
-
tried that, but to no avail. Doesnt work on the type of pdfs, I uploaded above – Aditya Yardi Feb 23 '21 at 13:35
-
1please add the problem pdf not image. – fascinating coder Nov 30 '21 at 01:52