An open API service indexing awesome lists of open source software.

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

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