Giter VIP home page Giter VIP logo

p5pose-recorder's Introduction

P5 PoseNet Recorder

Record a sequence of PoseNet poses as a "movie" to a JSON file, for later playback. This movie includes only the PoseNet data, not the video images.

You have the option to set in and out points (start and end points), before you save the sequence. This allows you to omit the beginning of the sequence — when you move away from the webcam into a position where you can use your whole body – and the end of the sequence – when you move back towards the computer in order to press the "Stop" button.

This project is designed to be used in conjunction with P5 PoseNet Player.

Instructions:

  1. Download this repository and open index.html in a browser. Give it permission to use your camera. You can also use the online version instead of downloading the repository.
  2. Move around. The web page is recording the keypoints.
  3. Press the Stop button.
  4. Drag the slider to review the recording.
  5. Optionally, set an in point and out point, in order to save only part of the recording.
  6. Press Save to save the file to "poses.json". Subsequent saves will save to "poses (1).json" etc., depending on your browser.

If you are recording attempts to interact with elements in the canvas of another sketch, you may find it helpful to take a screenshot of the other sketch and modify sketch.js in this project to load and draw that screenshot. Then you can see where the keypoints are relative to the target elements, as you move your body in order to move the keypoints.

p5pose-recorder's People

Contributors

osteele avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.