mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 01:22:59 +08:00

* Refactor js submodule * Remove change-log * Update ocr module * Update ocr-detection module * Update ocr-detection module * Remove change-log
1.1 KiB
1.1 KiB
gesture
gesture 为手势识别模块,包括两个模型:gesture_detect和gesture_rec。gesture_detect模型识别图片中人物手掌区域,gesture_rec模型识别人物手势。模块提供的接口简单,使用者只需传入手势图片即可获得结果。
使用
import * as gesture from '@paddle-js-models/gesture';
// gesture_detect、gesture_rec模型加载
await gesture.load();
// 获取图片识别结果。结果包括:手掌框选坐标和识别结果
const res = await gesture.classify(img);
在线体验
https://paddlejs.baidu.com/gesture
效果
