質問

I want to detect the number of fingers over the leap in C# ... As a integer int fingers;

thanks.

役に立ちましたか?

解決

It's as simple as this:

int fingerCount1 = frame.Fingers.Count;

Alternatively, you can count the fingers on each hand individually:

int fingerCount2 = frame.Hands.Sum(x => x.Fingers.Count);
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top