WebGPU-powered hand tracking in an 8KB bundle. Zero dependencies.
npm i @svenflow/micro-handpose
import { createHandpose } from '@svenflow/micro-handpose' // Initialize once (downloads weights, compiles WebGPU pipeline) const handpose = await createHandpose() // Detect from any image source: canvas, video, image, ImageData const hands = await handpose.detect(videoElement) for (const hand of hands) { console.log(hand.keypoints.index_tip) // {x, y, z} console.log(hand.handedness) // 'left' | 'right' } // Clean up GPU resources when done handpose.dispose()