https://github.com/cmccomb/tensorflow-turkeys
https://github.com/cmccomb/tensorflow-turkeys
camera tensorflow turkey
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cmccomb/tensorflow-turkeys
- Owner: cmccomb
- Created: 2020-09-24T16:07:32.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-11-16T00:52:57.000Z (8 months ago)
- Last Synced: 2025-11-16T02:27:02.535Z (8 months ago)
- Topics: camera, tensorflow, turkey
- Language: JavaScript
- Homepage: http://cmccomb.com/tensorflow-turkeys/
- Size: 687 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TensorFlow Turkey
Modern hand turkeys for the 21st century.
The app combines TensorFlow.js handpose detection with Literally Canvas so you can trace your hand in augmented reality and save it alongside your doodles.
## Getting started
1. Install the JavaScript dependencies (only required for running tests):
```bash
npm install
```
2. Serve the repository with your favorite static file server. A quick option is [`http-server`](https://www.npmjs.com/package/http-server):
```bash
npx http-server -c-1 .
```
3. Open `http://localhost:8080` in a modern browser (Chrome, Edge, Safari, or Firefox) and allow camera access when prompted.
## Features
- **Live hand tracking** powered by `@tensorflow-models/handpose`.
- **Camera safety** – the stream stops as soon as you capture your turkey to avoid leaving your webcam on.
- **Accessible error feedback** thanks to a dedicated status banner.
- **Modular geometry helpers** with automated Jest tests for regression coverage.
## Testing
Geometry utilities that power the drawing pipeline are covered with Jest. Run the suite via:
```bash
npm test
```
## Credits
- [TensorFlow.js handpose model](https://github.com/tensorflow/tfjs-models/tree/master/handpose)
- [Polygon Offset](https://github.com/w8r/polygon-offset)
- [Literally Canvas](http://literallycanvas.com/)
- [How To Capture Image From Camera Using JavaScript](https://html5.tutorials24x7.com/blog/how-to-capture-image-from-camera)