Skip to content

takuya-motoshima/mediapipe-learn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MediaPipe Learn

This is the learning result of MediaPipe.
Check out the latest MediaPipe browser demo here.
The code for those browser demos can be found here.

screencaps/docs.jpg

What is MediaPipe?

It is a framework developed by Google with machine learning and image processing capabilities.

What is WASM?

Specification of stack-based virtual machines and the binaries that run in them. Virtual machines can be broadly classified into the following two types, and WASM falls into the Process VM category.

  • System VM
    A virtual environment that simulates a physical computer.
    Examples: VirtualBox, VMware, etc.

  • Process VM
    A virtual environment for running applications.
    In a broad sense, the OS's presentation of resources to a process through virtual memory is also a Process VM.

    A WASM virtual machine is simply a virtual machine that runs `WASM binary files.
    Google Chrome has a built-in virtual machine called V8, and WASM runs on V8.

Sample

This package contains demos of the following features.
Click on the link to check out the demo.

You can start the Docker container and open http://localhost:8080/ in a browser to see the sample.

docker-compose up -d

Troubleshooting

  • wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
    Adding a WASM MIME type and extension mapping to the web server will solve this problem.

    For Nginx, add the following to /etc/nginx/mime.types.

    application/wasm wasm;

Reference

Author

Takuya Motoshima

License

MIT

MediaPipeモデルメーカーで既存の物体検出をカスタム

サンプル: https://colab.research.google.com/github/googlesamples/mediapipe/blob/main/tutorials/object_detection/Object_Detection_for_3_dogs.ipynb#scrollTo=jrmj83afDJrv

About

This is the learning result of MediaPipe.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published