# HandTrackerExtensions

```csharp
public static class HandTrackerExtensions
```

This is a static class.

### Methods

| Name                                                                                                                                                            | Return Type                                                         | Description                                  |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | -------------------------------------------- |
| Load([HandTracker](https://handtracking.lightbuzz.com/api-reference/handtracker), [StreamSource](https://handtracking.lightbuzz.com/ui-reference/streamsource)) | List<[Hand](https://handtracking.lightbuzz.com/api-reference/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](https://handtracking.lightbuzz.com/ui-reference/streamsource) component and a [Handtracker](https://handtracking.lightbuzz.com/api-reference/handtracker) object.

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

Then,  use the `HandTrackerExtensions` class to detect hands in the specified [StreamSource](https://handtracking.lightbuzz.com/ui-reference/streamsource).

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