flutter_capture_vision_linux 0.2.0
flutter_capture_vision_linux: ^0.2.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 Dynamsoft Capture Vision desktop SDK 3.6.5000 (
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 the pub archive approaches the 100 MB pub.dev limit, split per-architecture rather than downloading resources at runtime. The
archive-size-guardCI job measures every package on each run.
See example/ for a minimal app exercising this implementation.