To use (with caution), simply do:
$ pip install saram $ saram <dirname>
Make sure you have a OCR tool like tesseract and certain data value for comparing OCR, eg tesseract-data-eng along with Pillow and Wand for image conversion and loading which will be fetched during pip install.