https://github.com/rapptz/google-lens-ocr
A simple CLI to invoke Google Lens OCR
https://github.com/rapptz/google-lens-ocr
Last synced: about 1 year ago
JSON representation
A simple CLI to invoke Google Lens OCR
- Host: GitHub
- URL: https://github.com/rapptz/google-lens-ocr
- Owner: Rapptz
- License: apache-2.0
- Created: 2024-04-08T06:15:47.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-08T06:43:57.000Z (over 2 years ago)
- Last Synced: 2025-01-08T23:47:29.952Z (over 1 year ago)
- Language: Rust
- Size: 18.6 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Google Lens OCR
A simple command line tool to run an image through Google Lens' OCR. It's meant to work via e.g. [ShareX](https://getsharex.com/actions).
## Usage
This tool is deliberately simple, so it only has two modes: output to stdout and copy to clipboard.
Output to stdout:
```shell
$ google-lens-ocr image.png
Hello World
```
Copy to clipboard:
```shell
$ google-lens-ocr clipboard image.png
```
You can also use the image in the clipboard by not specifying a file:
```shell
$ google-lens-ocr clipboard
```
That's it.
## License
Apache 2.0