/tmpose2scratch

TMPose2Scratch connects Google Teachable Machine 2 with Scratch 3. You can use pose recognition on Scratch project.

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

TM2PoseScratch

TMPose2Scratch connects Google Teachable Machine 2 with Scratch 3. You can use pose recognition on Scratch project.

How to use

Pose recognition

  1. On Google Teachable Machine 2 website, create a pose classification model and upload it.

  2. Copy the sharable link.

  1. Open http://champierre.github.io/tmpose2scratch on Chrome browser.

  2. Open "Choose an Extension" window and select "TMPose2Scratch".

  1. Paste the shareble link into the text field of "pose classification model URL" block.

  1. You can use the pose recognition results with "when received pose label" blocks.

For Developers - How to run TMPose2Scratch extension on your computer

  1. Setup LLK/scratch-gui on your computer.

    % git clone git@github.com:LLK/scratch-gui.git
    % cd scratch-gui
    % npm install
    
  2. In scratch-gui folder, clone TMPose2Scratch. You will have tmpose2scratch folder under scratch-gui.

    % git clone git@github.com:champierre/tmpose2scratch.git
    
  3. Run the install script.

    % sh tmpose2scratch/install.sh
    
  4. Run Scratch, then go to http://localhost:8601/.

    % npm start