Comment below me mentioned paperless-ngx. It has built in OCR (not sure which lib) but it's quite excellent and does a good enough job getting most of the text out. The main thing is getting most of the keywords indexable so you can find them later - not necessarily getting a perfect transcription. It also does auto classification of sends and tags and such. It's pretty good.