didn’t mention Google or AI at all.
They're running Google's ML Kit. That's where that came from.
do you want your security software company running a bunch of local ML on your phone
And I really, honestly would rather they don't. The original machine learning models were tiny and exacting. You want to detect if this is an 'e', we gather a 150dpi scan of the letter then we use statistical ML on it. Nearest neighbor searches, markov models, decision trees. All very dumb stuff. Nothing that had any chance of pulling telemetry on you or making calls home. Nothing you couldn't read and understand, of even reverse.
You can say sorry pal, that's still ML and you want it, but that glazes over my actual point in this privacy forum. Running a toolkit maintained by a company that solely exists to exfiltrate as much of your data as possible and sell it to the highest bidder is absolutely at odds with both privacy and security.
At the same time, I'm not so obtuse as to think that advanced machine learning can be kept away from things forever. But there are things that are less damning in terms of security and privacy.
https://developers.google.com/ml-kit/terms
"When you use ML Kit APIs, processing of the input data (e.g. images, video, text) fully happens on-device, and ML Kit does not send that data and the resultant outputs to Google servers."
It's an interesting choice for them to specify Google servers. But for the sake of argument, let's say they mean they will not send it off-device.
"The ML Kit APIs also send metrics about the performance and utilization of the APIs in your app to Google. Google uses this metrics data to measure performance, debug, maintain and improve the APIs, and detect misuse or abuse, as further described in our Privacy Policy."
So the ML Kit can send data to Google Servers (and perhaps other servers?), and the only thing preventing them from sending it all to themselves is two lines of text in a privacy policy that they are allowed to change without notification or consent.
Now, let's say they want to use that same Tesseract underlying code. Pytesseract doesn't have any facilities to call home. It is 100% private and that code will work on android, pc, ios, linux.
There are half a dozen other great options without trying to use google.