| Crates.io | chrome_lens_ocr |
| lib.rs | chrome_lens_ocr |
| version | 0.3.0 |
| created_at | 2025-12-10 03:38:56.589087+00 |
| updated_at | 2026-01-08 06:26:01.731144+00 |
| description | Port of chrome-lens-py used in Mangatan |
| homepage | |
| repository | https://github.com/KolbyML/chrome-lens-ocr |
| max_upload_size | |
| id | 1977337 |
| size | 280,686 |
A lightweight, high-performance Rust library to use Google Lens OCR.
This crate allows you to extract text from images using the Google Lens API used in Chromium. It functions without a headless browser, making it significantly faster and lighter than Puppeteer-based solutions.
Add this to your Cargo.toml:
[dependencies]
chrome_lens_ocr = "0.1.0"
Or run the following command:
```bash
cargo add chrome_lens_ocr
To install the binary globally:
cargo install chrome_lens_ocr
If you have installed the crate globally or are running it from the source:
# From source
cargo run -- test.png
# If installed globally
chrome_lens_ocr test.png
This project is a Rust port of chrome-lens-py by bropines.
Distributed under the MIT License. See LICENSE for more information.
Disclaimer: This project is intended for educational and experimental purposes only. Use of Google's services must comply with their Terms of Service. The author is not responsible for any misuse of this software.