MCPcopy
hub / github.com/tensorflow/tfjs-models / HandDetector

Interface HandDetector

hand-pose-detection/src/hand_detector.ts:24–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 * User-facing interface for all hand pose detectors.
23 */
24export interface HandDetector {
25 /**
26 * Finds hands in the input image.
27 *
28 * @param input The image to classify. Can be a tensor, DOM element image,
29 * video, or canvas.
30 * @param estimationConfig common config for `estimateHands`.
31 */
32 estimateHands(
33 input: HandDetectorInput,
34 estimationConfig?: MediaPipeHandsMediaPipeEstimationConfig|
35 MediaPipeHandsTfjsEstimationConfig): Promise<Hand[]>;
36
37 /**
38 * Dispose the underlying models from memory.
39 */
40 dispose(): void;
41
42 /**
43 * Reset global states in the model.
44 */
45 reset(): void;
46}

Callers 17

tfjs_test.tsFile · 0.65
callbackFunction · 0.65
mediapipe_test.tsFile · 0.65
callbackFunction · 0.65
renderResultFunction · 0.65
renderResultFunction · 0.65
runFunction · 0.65
handpose_test.tsFile · 0.65
estimateHandsMethod · 0.65
disposeMethod · 0.65
detectPalmMethod · 0.65
handLandmarksMethod · 0.65

Implementers 2

MediaPipeHandsTfjsDetectorhand-pose-detection/src/tfjs/detector.
MediaPipeHandsMediaPipeDetectorhand-pose-detection/src/mediapipe/dete

Calls

no outgoing calls

Tested by

no test coverage detected