VideoWorker class Null safety

VideoWorker is an interface object for tracking, processing and matching faces.

We recommend you to use VideoWorker instead of Capturer for face tracking on video streams. When VideoWorker is created with matching_thread=0 and processing_thread=0, then the standard Capturer license is used.

Constructors

VideoWorker(DynamicLibrary dll_handle, Pointer<Void> impl)

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addVideoFrame(RawImageF image, int timestamp_microsec) int
Add a new video frame for a specific video stream.

Tracking results can be obtained via VideoWorker.poolTrackResults.
Return integer id for this frame, unique for this video stream.
This id will be used to identify this frame in the callbacks.
dispose() → void
Removing an object from memory. Must be called manually.
inherited
getDouble(Pointer<Void> pointer, int field) double
getInt64(Pointer<Void> pointer, int field) int
getPointer(Pointer<Void> pointer, int field) Pointer<Void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
poll(Pointer<Void> pointer, int value) Pointer<Void>
poolTrackResults() TrackingData
Synchronous method for obtaining tracking results.

Returns the last TrackingCallbackData, TemplateCreatedCallbackData, TrackingLostCallbackData structs.
resetTrackerOnStream() → void
Reset tracker state.
setDataBase(List<DataBaseElement> dataBase, {SearchAccelerationType acceleration = SearchAccelerationType.SEARCH_ACCELERATION_1}) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited