ImageView
Draws the image texture.
Last updated
[SerializeField] private ImageView _image;
[SerializeField] private WebcamSource _webcam;_image.Load(_webcam);_image.Load(_webcam.Pixels, _webcam.Width, _webcam.Height);// Get the finger joint from the detected hand.
FingerJoint pinkyDip = hand.FingerJoints[FingerJointType.PinkyDIP];
// Get the original 2D position (pixels in the camera frame).
Vector2 original_position = pinkyDip.Position2D;
// Get the local 2D position (pixels in the ImageView texture).
Vector2 local_position = image.GetPosition(original_position);