Socket
Socket
Sign inDemoInstall

hand3000

Package Overview
Dependencies
316
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hand3000

An experimental and rudimentary decorator for TensorFlow's Handpose


Version published
Weekly downloads
0
Maintainers
1
Install size
260 kB
Created
Weekly downloads
 

Readme

Source

Hand3000

༼ つ ◕_◕ ༽つ

Currently an experimental and rudimentary decorator for TensorFlow's Handpose.

Demo

What

TensorFlow's handpose only outputs a set of points described by x, y, z coordinates. This little experimental "decorator" just evaluates these points and decorates the output of estimateHands with values such as distance, spread, roll, pitch, isFist. If you have any additions, suggestions, please feel free to make a PR!

  • isPointing
  • Some other inference?
ValueDescription
distanceAn estimate of the hand distance from the camera. Basically a measurement between 2 of the "static" points in the model
spreadAn average calculation of the distance between fingertips
rollLike how an airplane moves, roll is the rotation in the x-axis
pitchLike how an airplane moves, pitch is the rotation in the z-axis
isFistNot glamorously named, but it is what it says. A rough estimation IF a user's hand is closed
isPointingComing soon

Usage

yarn add hand3000 or npm i hand3000

  import * as handpose from '@tensorflow-models/handpose';
  import DecorateHand from 'hand3000';

  // Initialize tensorflow as usual
  const model = await handpose.load();

  // Feed the model into Hand3000
  DecorateHand(model);

  // This just tweaks the estimateHand methods and adds
  // above computed values in the return of estimateHands
  const predictions = await model.estimateHands(source);

FAQs

Last updated on 06 Apr 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc