Fundamental: Arrays

https://docs.google.com/presentation/d/1aFH6BC44d4mHlbsKjQFaiU7Sm1_4jMGEGRAt7CZIFbo/view#slide=id.gb4016e30b3_0_8

1. Mediapipe Hands Basic Example

p5.js Web Editor

Mediapipe Hands page: https://google.github.io/mediapipe/solutions/hands.html

Untitled

Points on a hand and their corresponding index.

mirror variable

true—camera image and all corresponding data is mirrored.

false—camera image and all corresponding data is not mirrored.

camera object

property value
facingMode "environment" or "user"

toggles between first two cameras if there are multiple cameras on the device. e.g. front and back camera of a smartphone, built-in or external camera for a laptop. | | width height | Width and height for the camera feed. This usually follows one of the following standard dimensions:

note: the higher the camera resolution, the more computation will be required to process the image for hand detection; however, smaller hands have a higher chance of being detected at a higher resolution. |