platform_interface library

Where the browser plugin plugs Google's JavaScript runtime into Decision Maker.

Applications should import mediapipe_decision.dart instead.

Classes

DecisionBackend
Google's Decision Maker on one runtime.

Properties

decisionBackendFactory ↔ Future<DecisionBackend> Function(Map<String, Object?> options)?
Creates Google's Decision Maker from options named as in Google's JavaScript API (maxNumTokens, delegate), plus modelBytes (a Uint8List) or modelPath (a URL).
getter/setter pair