flutter_capture_vision_web 0.1.0 copy "flutter_capture_vision_web: ^0.1.0" to clipboard
flutter_capture_vision_web: ^0.1.0 copied to clipboard

Platformweb

Web implementation of flutter_capture_vision with a self-hosted Dynamsoft Capture Vision WASM bundle for barcode, MRZ, and document detection.

flutter_capture_vision_web #

Web 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 #

  • Dart js_interop adapter over the Dynamsoft DCV browser bundle. DCV's Promise-based API is awaited directly; nothing runs synchronously on the UI thread.
  • The JS/WASM/worker/model bundle is self-hosted under assets/dcv/ and loaded by the plugin — apps must not add a CDN <script> tag to web/index.html. The adapter sets the engine rootDirectory to the packaged assets before initialization.
  • Requires HTTPS or localhost (WASM constraint).
  • Default task → template mapping: barcodeReadBarcodes_Default, mrzReadPassportAndId, documentDetectionDetectDocumentBoundaries_Default. Custom names from imported settings JSON are passed through unchanged.

See example/ for a minimal app exercising this implementation.

1
likes
160
points
68
downloads

Documentation

API reference

Publisher

verified publisheryushulx.me

Weekly Downloads

Web implementation of flutter_capture_vision with a self-hosted Dynamsoft Capture Vision WASM bundle for barcode, MRZ, and document detection.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_capture_vision_platform_interface, flutter_web_plugins, web

More

Packages that depend on flutter_capture_vision_web

Packages that implement flutter_capture_vision_web