A simple command line tool to run an image through Google Lens' OCR. It's meant to work via e.g. ShareX.
This tool is deliberately simple, so it only has two modes: output to stdout and copy to clipboard.
Output to stdout:
$ google-lens-ocr image.png
Hello World
Copy to clipboard:
$ google-lens-ocr clipboard image.png
You can also use the image in the clipboard by not specifying a file:
$ google-lens-ocr clipboard
That's it.
Apache 2.0