pp_ocr 0.2.0 copy "pp_ocr: ^0.2.0" to clipboard
pp_ocr: ^0.2.0 copied to clipboard

PlatformWindows

Flutter plugin for offline OCR using PP-OCRv6 (PaddleOCR) with ONNX Runtime C++ inference. Supports text detection and recognition on Windows.

0.1.0 #

  • Initial release.
  • Offline OCR using PaddleOCR PP-OCRv6 models with ONNX Runtime.
  • Text detection (DB) and recognition (CRNN+CTC) pipeline.
  • Unicode file path support on Windows (Chinese, Japanese, etc.).
  • Detection box overlay with recognized text and confidence scores.
  • Debug logging with UTF-8 validation utilities.

0.1.1 #

  • 修复了一些依赖问题

0.1.2 #

  • 修复了一些编译错误问题

0.1.3 #

  • 内置 ONNX Runtime 1.20.1 和 OpenCV 4.9.0,无需下载或手动配置
  • 内置文件位于 windows/third_party/
  • Debug 构建使用 release DLL 运行,无需 debug DLL

0.2.0 #

  • 重大更新:新增 FFI 后端
  • 默认使用 dart:ffi 直接调用原生 C++ 代码,延迟更低
  • 自动回退到 MethodChannel(FFI DLL 不可用时)
  • 新增 C API(pp_ocr_ffi.h)导出纯 C 函数供 FFI 调用
  • 新增 dispose() 方法释放原生资源
  • pubspec.yaml 添加 ffiPlugin 配置
  • 更新 README 文档说明双后端架构
1
likes
160
points
310
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for offline OCR using PP-OCRv6 (PaddleOCR) with ONNX Runtime C++ inference. Supports text detection and recognition on Windows.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

ffi, flutter, plugin_platform_interface

More

Packages that depend on pp_ocr

Packages that implement pp_ocr