문제

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