Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想检测 C# 中跨越跳跃的手指数量...作为整数 int 手指;
谢谢。
就这么简单:
int fingerCount1 = frame.Fingers.Count;
或者,您可以单独数每只手的手指:
int fingerCount2 = frame.Hands.Sum(x => x.Fingers.Count);