Code Monkey home page Code Monkey logo

p5mediapipe's Introduction

p5MediaPipe

Easy to go mediapipe samples with p5.js!!

Note

従来のvideoタグにp5jsキャンバスを重畳する方式から、createCaptureでp5jsでのカメラキャプチャを行う方式に変更しました。この方式により、mediapipeのタスクをp5jsで簡単に実装できるようになりました。もし以前の方式を使いたい場合は、v0.10.13を利用してください。The method of overlaying a p5js canvas on the conventional video tag has been changed to the method of capturing a camera with p5js using createCapture. This method makes it easy to implement mediapipe tasks with p5js. If you want to use the previous method, please use v0.10.13.

To make it easier to handle mediapipe with p5, I have downloaded the necessary asm and js files for each example. p5MediaPipe branches are created for each version of mediapipe.

p5MediaPipe stores all necessary libraries in the project file for implementation in standalone applications.

Version

Examples

  • hands-landmarker : DEMO
  • object-detection : DEMO
  • object-detection-mobile-web-app-template : DEMO
  • gesture-recognition : DEMO
  • image classification: DEMO
  • image segmentation: DEMO
    • Only this example uses vision_bundle.js of v0.10.2 because vision_bundle.js of latest version causes an error.
  • face landmark detection: DEMO
  • pose landmark detection: DEMO

Experimental

How to update mediapipe version

If a newer version of mediapipe has been released, you can update the mediapipe version for each project with the following command. If necessary, replace "update" with "install" in npm.

npm update @mediapipe/tasks-vision
sh copy_files.sh

Reference

thanks

p5mediapipe's People

Contributors

tetsuakibaba avatar

Stargazers

 avatar ORII Shun avatar  avatar CODAS avatar JeongHo Park avatar  avatar  avatar Luca Cattaneo avatar Kuangyi avatar  avatar liquid avatar  avatar ギョエーーーーーーーッ avatar

Watchers

 avatar  avatar

p5mediapipe's Issues

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.