HandTrackerExtensions

Extension methods for the StreamSource class.

public static class HandTrackerExtensions

This is a static class.

Methods

NameReturn TypeDescription

List<Hand>

Static. Detects hands in the current stream.

Example

The example shows how to detect hands with the StreamSourceExtensions class.

Detect hands in StreamSource

First, create a StreamSource component and a Handtracker object.

[SerializeField] private StreamSource _source;
private readonly HandTracker handTracker = new HandTracker();

Then, use the HandTrackerExtensions class to detect hands in the specified StreamSource.

List<Hand> hands = _handTracker.Load(_source);

Last updated