platform_interface library
Where the browser plugin plugs Google's JavaScript runtime into the classic text tasks.
Applications should import mediapipe_text.dart instead.
Classes
- TextTaskBackend
- One of Google's text tasks, created and run by a platform backend.
Properties
-
textTaskBackendFactory
↔ Future<
TextTaskBackend> Function(String task, Map<String, Object?> options)? -
Creates Google's
task(text_classifier,text_embedderorlanguage_detector) fromoptionsnamed as in Google's JavaScript API, plusmodelBytes(aUint8List) ormodelPath(a URL).getter/setter pair