/sceptre:sceptre-integrating-rustfrom sceptre
Integrates Sceptre OCR into Rust projects with Reader, decoded images, model providers, and structured error handling. Useful for extracting text from images with confidence scores and quadrilateral data.
Ships in sceptre. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Add sceptre = { version = "0.8", features = ["ort-bundled", "download"] } to Cargo dependencies.
The library default features are empty; select a backend explicitly.
use sceptre::{ReadOptions, Reader};
use std::path::Path;
let reader = Reader::builder().build()?;
let result = reader.readtext(Path::new("receipt.png"), &ReadOptions::default())?;
Reuse the reader across images. Call warm_up() or build with build_warmed() to move model
initialization out of the first request. Structured lines expose text, confidence and quadrilateral.
For encoded bytes, decode with Image::from_bytes, then call Reader::recognize(&image, &options).
Reader::detect and Reader::recognize_line also accept decoded Image values.
Configure the reader through Reader::builder().config(OcrConfig::default());
provide a ModelProvider through .model_provider(...) for managed or offline assets.
Propagate OcrError with the failed operation's context; do not convert errors into empty text.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub xberg-io/sceptre --plugin sceptre6 skills in this plugin
/sceptreExtract text, confidence scores and bounding boxes from local images using Sceptre OCR; inspect or download multilingual models./sceptre-managing-modelsList, download and prepare Sceptre multilingual OCR models and inspect backend configuration./sceptre-ocr-imagesRecognize text in one or many image files with local Sceptre OCR, preserving bounding boxes and confidence./sceptre-tuning-ocrTune Sceptre detection memory, orientation and language options when OCR misses text or consumes too much memory.Other plugins' skills for the same job