mi_virtual_background_kit 0.1.0
mi_virtual_background_kit: ^0.1.0 copied to clipboard
Real-time virtual background (blur, image, solid color) for flutter_webrtc camera tracks. Fully on-device, no network, no telemetry.
0.1.0 #
- Initial release.
- Virtual background effects on local
flutter_webrtccamera tracks: blur, image (asset / file / bytes, fitcoverorcontain), solid color, and none (bypass). - Switch effects at runtime without restarting the camera track (
setEffect, idempotent; camera switch keeps the active effect). attachwithBackgroundQuality(segmentation width, edge smoothing, target fps) and runtimesetQuality; presetslow/balanced/high.statusStream(idle, initializing, active, error) andfallbackStreamwith typed errors;isSupported()checks device, GPU, and model.- Two-stage performance fallback: quality degraded below 14 fps, effect disabled below 10 fps (FR-12), no crash.
- Fully on-device processing (MediaPipe
selfie_segmenter.tflite, Apache-2.0, bundled; GPU compositing) — no network, no telemetry. - Android (minSdk 24) and iOS 15.0+.