yoshuawuyts/components

[component] ocr — image/PDF → text

Open

#8 opened on May 1, 2026

View on GitHub
 (0 comments) (1 reaction) (2 assignees)Rust (1 fork)github user discovery
help wanted

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

Goal

Wasm component to OCR static images (PNG/JPEG), and, optionally, single-page PDFs, returning UTF-8 text or Markdown.

Scope/Features

  • Pure in, pure out: image/PDF bytes in, UTF-8 text or Markdown out
  • Tesseract as likely backend
  • Optional bounding boxes for detected words

Rough WIT shape

  • extract(input: list<u8>) -> result<ocr_output, error>
  • OCR output: text + optional bounding boxes/coordinates

Candidate crates

Labels

  • help wanted

Ambitious; pure function, but deploys a non-trivial native backend. Worth prioritizing security and portability.

Contributor guide