flutter_capture_vision_linux 0.1.0
flutter_capture_vision_linux: ^0.1.0 copied to clipboard
Linux implementation of flutter_capture_vision with vendored x64 and arm64 Dynamsoft Capture Vision libraries and full resource sets.
flutter_capture_vision_linux #
Linux implementation of flutter_capture_vision.
Endorsed default_package for the facade — you normally depend only on flutter_capture_vision and get this package automatically.
Implementation notes #
- C++ plugin over the DCV desktop SDK (
CCaptureVisionRouter), with x64 and arm64 libraries plus the full resource set (Templates, Models, ParserResources, root.datafiles) vendored into this package. - All channel operations run on a dedicated serial worker thread; replies are posted back through the main GLib context.
- CMake selects the library matching the target architecture, installs everything under the bundle's
lib/with$ORIGINrpath, and installs the resource directories next to the executable. Afterflutter build linux, verify withlddthat bundled libraries resolve from the bundle. - Default task → template mapping:
barcode→ReadBarcodes_Default,mrz→ReadPassportAndId,documentDetection→DetectDocumentBoundaries_Default. Custom names from imported settings JSON are passed through unchanged. - This package carries both architectures; if pub archive size ever exceeds the pub.flutter-io.cn limit, split per-architecture rather than downloading resources at runtime (see
docs/release-runbook.mdin the workspace).
See example/ for a minimal app exercising this implementation.