Handsign is a simple AI-based hand gesture recognition that translates a hand pose into the American Sign Language (ASL) alphabet. Using Tensorflow JS and its Handpose preloaded model to detect the hand object and its parts. Handsign also uses an additional library called Fingerpose to classify certain of custom hand gestures based on the finger position.
#dohackathon
#madewithTFJS
- Clone the repository
# copy the repo to your machine
git clone https://github.com/syauqy/handsign-tensorflow.git
- Start the project
# move to the project folder and install all dependencies
cd handsign-tensorflow
yarn install
- Run the project on your local machine
# run Next
yarn dev
- The project is live 🚀
Your project is live and running at http://localhost:3000
You can edit the core program at /pages/index.js
uncomment the <pre>
component
<Image h="150px" objectFit="cover" id='emojimage'/>
// uncomment this
{/* <pre className="pose-data" color="white" style={{position: 'fixed', top: '150px', left: '10px'}} >Pose data</pre> */}
</Container>
uncomment the estimatedGestures
data to change '.pose-data'
innerHTML
// document.querySelector('.pose-data').innerHTML =JSON.stringify(estimatedGestures.poseData, null, 2);
the estimatedGestures
data will render on your screen.
-
Tensorflow JS - A Library for ML in JS.
-
Handpose - A lightweight ML pipeline consisting of two models: A palm detector and a hand-skeleton finger tracking model.
-
Fingerpose - A pose classifier for hand landmarks detected by TensorFlow.js Handpose's model.
-
Sign language illustration is created by Pelin Kahraman
If you want to learn more about Tensorflow JS and custom gesture handpose, please kindly check these amazing videos