A small data record type representing a detected palm in an inference pipeline. It stores a detection score, bounding box (X,Y,Width,Height) and an array of 2D keypoints (Points).
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; namespace HumanoidMocap.Core.Inference; using Vector2 = System.Numerics.Vector2; public sealed record PalmDetection(float Score,float X,float Y,float Width,float Height,Vector2[] Points);