chrome_lens_ocr

Crates.iochrome_lens_ocr
lib.rschrome_lens_ocr
version0.3.0
created_at2025-12-10 03:38:56.589087+00
updated_at2026-01-08 06:26:01.731144+00
descriptionPort of chrome-lens-py used in Mangatan
homepage
repositoryhttps://github.com/KolbyML/chrome-lens-ocr
max_upload_size
id1977337
size280,686
Kolby Moroz Liebl (KolbyML)

documentation

README

Chrome Lens OCR

Crates.io License Maintenance

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.

✨ Features

  • Zero Headless Browser: No need for Selenium, Puppeteer, or Playwright.
  • No Authentication: Works without a Google account or API keys.
  • High Performance: Direct API calls make it fast and efficient.
  • Rust Port: A direct port of the Python library chrome-lens-py.

📦 Installation

As a Library

Add this to your Cargo.toml:

[dependencies]
chrome_lens_ocr = "0.1.0"

Or run the following command:

```bash
cargo add chrome_lens_ocr

As a CLI Tool

To install the binary globally:

cargo install chrome_lens_ocr

Using the CLI

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

🤝 Attribution

This project is a Rust port of chrome-lens-py by bropines.

🛠 Projects Used In

  • Mangatan - Easy to use all-in-one solution for reading Japanese manga with automatic OCR for seamless Yomitan lookups

⚖️ License

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.

Commit count: 11

cargo fmt