Skip to main content

rusto 0.3.2 copy "rusto: ^0.3.2" to clipboard
rusto: ^0.3.2 copied to clipboard

Pure Rust OCR library bindings for Dart and Flutter based on RapidOCR and PaddleOCR.

rusto #

pub.dev License: MIT

Pure Rust OCR library bindings for Dart and Flutter based on RapidOCR and PaddleOCR.

Features #

  • High performance text detection and recognition powered by Rust and ONNX/RTEN
  • Structured output with bounding box coordinates, confidence scores, and line frames
  • Spatial layout generation preserving physical document geometry
  • Seamless FFI integration with zero runtime overhead

Getting Started #

import 'package:rusto/rusto.dart';

final engine = RustO.initialize('{"detection":{"model_path":"det.rten"},"recognition":{"model_path":"rec.rten","dict_path":"dict.txt"}}');
final results = engine.detectTextFile('invoice.png');
for (final line in results) {
  print('${line.text} (score: ${line.score})');
}
engine.close();
0
likes
130
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pure Rust OCR library bindings for Dart and Flutter based on RapidOCR and PaddleOCR.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

ffi

More

Packages that depend on rusto