title: How to detect language or script from an input image using Python or Tesseract OCR?
body: <p>Given an input image which can be in any language or writing system, how do I detect what script the text in the picture uses?</p>
  <p>Any Python-based or Tesseract-OCR based solution would be appreciated.</p>
  <hr />
  <p>Note that script here means writing systems like <em>Latin, Cyrillic, Devanagari, etc.</em>, for corresponding languages like <em>English, Russian, Hindi, etc.</em> (respectively)</p>