title: How to detect a rotated page in a PDF document in Python?
body: <p>Given a PDF document with multiple pages, how to check if a given page is rotated (-90, 90 or 180º)? Preferable using Python (pdfminer, pyPDF) ...</p>
  
  <p>UPDATE: The pages are scanned, and most of the page is composed by text.</p>