When I hear image recognition, I immediately think OpenCV (where CV stands for Computer Vision).
It has excellent support for Python, with lots of tutorials.
For OCR, you want Tessract.
And a quick search will find some useful tutorials, such as :
A comprehensive guide to OCR with Tesseract, OpenCV and Python
OpenCV OCR and text recognition with ...
It's unfortunately a paid app, but the powerful and sleek PhotoSweeper can do a local reverse image search on your Mac.
Open the app and choose "Side to Side Mode".
2. Drag and drop an image into the left-hand pane. Select parent folder to recursively search within such as your Mac's home folder.
3. Click 'Compare' button. Options pop up for ...