Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.33 KB

File metadata and controls

38 lines (23 loc) · 1.33 KB

中文版

gesture

gesture is a gesture recognition module, including two models: gesture_detect and gesture_rec. gesture_detect model is used to identify the palm area of the person in the image. gesture_rec model is used to recognize human gesture. The interface provided by the module is simple, users only need to pass in gesture images to get the results.

version size downloads downloads

Run Demo

  1. Execute in the current directory
npm install
npm run dev
  1. Visit http://0.0.0.0:8865

Usage

import * as gesture from '@paddlejs-models/gesture';

// Load gesture_detect model and gesture_rec model
await gesture.load();

// Get the image recognition results. The results include: palm frame coordinates and recognition results
const res = await gesture.classify(img);

Online experience

https://paddlejs.baidu.com/gesture

Performance

gesture