io library

Classes

BaseOptions
Dart representation of MediaPipe's "BaseOptions" concept.
Category
Dart representation of MediaPipe's "Category" concept.
Classifications
Dart representation of MediaPipe's "Classifications" concept.
ClassifierOptions
Dart representation of MediaPipe's "ClassifierOptions" concept.
ClassifierResult
Container for classification results across any MediaPipe task.
EmbedderOptions
Dart representation of MediaPipe's "EmbedderOptions" concept.
Embedding
Represents the embedding for a given embedder head. Typically used in embedding tasks.
TaskExecutor<NativeOptions extends Struct, Options extends TaskOptions<NativeOptions>, NativeResult extends Struct, Result extends IOTaskResult>
Instantiates and manages an object which can complete MediaPipe tasks. The managed task-completing object does not exist in Dart memory, but instead in platform-dependent native memory.
TimestampedClassifierResult
Container for classification results that may describe a slice of time within a larger, streaming data source (.e.g, a video or audio file).

Enums

EmbeddingType
Marker for which flavor of analysis was performed for a specific Embedding instance.

Mixins

InnerTaskOptions<T extends Struct>
Parent class for building block options classes which are later grouped together to comprise all relevant options for a specific MediaPipe task.
IOTaskResult
Anchor class for native memory implementations of task results.
TaskOptions<T extends Struct>
Provides a suggested API surface for how classes implementing BaseTaskOptions should manage their InnerTaskOptions fields. The two suggested methods are copyToNative and dispose.

Extensions

DartAwareChars on Pointer<Char>
Helpers to convert a Pointer<Char> into a Uint8List.
DartAwareFloats on Pointer<Float>
Helpers to convert a Pointer<Char> into a Uint8List.
DartAwarePointerChars on Pointer<Pointer<Char>>
Helpers to convert between Pointer<Pointer<Char>> and List<String>.
NativeFloats on Float32List
Extension method for copying a Float32List from Dart memory into native memory.
NativeInts on Uint8List
Extension method for copying a Uint8List from Dart memory into native memory.
NativeListOfStrings on List<String>
Helpers to convert between a List<String> and a Pointer<Pointer<Char>>.
NativeStrings on String
Helpers to convert between a String and a Pointer<Char>.
NullAwarePtr on Pointer<NativeType>?
Offers convenience and readability extensions for detecting null pointers.