https://github.com/osteele/posenet-circus
P5.js + PoseNet browser that can also render and test images from a directory on the server
https://github.com/osteele/posenet-circus
p5js posenet
Last synced: 8 months ago
JSON representation
P5.js + PoseNet browser that can also render and test images from a directory on the server
- Host: GitHub
- URL: https://github.com/osteele/posenet-circus
- Owner: osteele
- Created: 2019-10-14T07:26:44.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2021-09-27T07:34:04.000Z (about 4 years ago)
- Last Synced: 2025-02-25T09:18:40.254Z (8 months ago)
- Topics: p5js, posenet
- Language: JavaScript
- Homepage:
- Size: 36 MB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PoseNet Experiments
This is a platform for experimenting with PoseNet. The code is adapted from the
tensorflow PosetNet demo at
[@tensorflow/tfjs-models](https://github.com/tensorflow/tfjs-models/tree/master/posenet).
It adds:- The option to select and operate on a static image from a directory.
- Extracts a feature, and sends it to an API server where it is relayed to OSC.
- Images are considered both rightside up and upside down. This is an attempt to
recognize people doing circus activities.## Setup
Install dependencies and prepare the build directory:
```shell
yarn install
```## Running
Run the web server and the API server:
```shell
yarn start
```The web server will be running at .
## References
[PoseNet online documentation](https://github.com/tensorflow/tfjs-models/tree/master/posenet)
### Keypoints
All keypoints are indexed by part id. The parts and their ids are:
| Id | Part |
| --- | ------------- |
| 0 | nose |
| 1 | leftEye |
| 2 | rightEye |
| 3 | leftEar |
| 4 | rightEar |
| 5 | leftShoulder |
| 6 | rightShoulder |
| 7 | leftElbow |
| 8 | rightElbow |
| 9 | leftWrist |
| 10 | rightWrist |
| 11 | leftHip |
| 12 | rightHip |
| 13 | leftKnee |
| 14 | rightKnee |
| 15 | leftAnkle |
| 16 | rightAnkle |