I think you can setup Tesseract even without AI locally. At least I seem to remember having done that once to see if it gives better results in certain cases as DT’s OCR.
Wondering if you could explain how I might create a smart rule to do this (i.e. OCR a large string of pdfs from DT)? I have tesseract installed but my scripting knowledge is limited. (I have thousands of pages that I’m hoping to OCR, so the DT limits are hampering work significantly.)
What I’m trying to do, in total, although obviously not at once, is take ~40,000 images, convert them to PDFs, OCR them, and finally shrink them down a bit (I’m using PDF Squeezer) so they take less space. Right now I’m doing these steps in stages, but the OCR stage is where things keep running into roadblocks. I’ve gotten the “you’ve reached your limit” message, which others have reported for years, a number of times, long before 10,000 total pages of OCR text has been processed (or so I thought), requiring the preference delete step again and again.
If you use Claude Cowork/Dispatch and the Devonthink MCP server, it can install Tesseract on your computer and use that for OCR - then there are no limits to how many pages you can OCR.
What’s wrong with a simple brew install tesseract (except for that fact that it does not use Claude or any other AI for a trivial task)?
@bolman: If it were me, I’d just install tesseract (as illustrated above) and then head over to my favorite search engine asking it how to use the software. And then start OCR’ing my documents to my hearts content – not involving DT at all at this stage. When everything is processed by tesseract, I’d import it into DT. I do not see any need for an AI or MCP here. But then I’m old fashioned.
Because if you want to do OCR on a set of documents in a Group it is not a trivial task to set up a shell script loop , locate the Finder path for each document, and choose various other terminal line parameters. If you want alerts when it finishes or errors that is even more work.
It would probably be trivial for you to create a shell script to do that. For me and I suspect most other DT users it’s a whole lot easier to supervise Claude doing it instead.
Actually you could likely do it for free using local AI and an open source agent harness such as Goose to manage Tesseract instead of Claude if you do not have a Claude subscription.
That’s why I suggested doing it outside DT. There is, in my opinion, no point in importing 40,000 documents into DT to have them OCR’d by an external program and then import the OCR’d documents again…
To quote the OP:
Not a single step in that process requires DT. In fact, throwing DT into that approach makes it more complicated than it need to be.
Just throw the documents in a folder, start tesseract and come back at some later time.
Well one of the great things about personal computing is that there are often dozens of ways to solve the same problem - each with its own upsides and downsides.
I can totally see why someone with decades of Unix and Open Source software experience would do it the way you suggest.
I am in an in between zone- I know how to use Unix and Terminal, but if a repetitive task would take me 10 seconds each time for Claude to do it and monitor it for me, but doing it myself would take a few minutes and then I have to remember to follow up to monitor and import it, I will let Claude do it.
Also I do not now the comfort level of the original poster here, but in general I would take a guess that only a minority of DT users are comfortable using Terminal to any extent.