title: How do I convert scanned PDF into searchable PDF in Python (Mac)? e.g. OCRMYPDF module
body: <p>I am writing a program in python that can read pdf document, extract text from the document and rename the document using extracted text. At first, the scanned pdf document is not searchable. I would like to convert the pdf into searchable pdf on Python instead of using Google doc, Cisdem pdf converter. </p>
  
  <p>I have read about ocrmypdf module which can used to solve this. However, I do not know how to write the code due to my limited knowledge. </p>
  
  <p>I expect the output to convert the scanned pdf into searchable pdf.</p>