Skip to content

Cross-platform, customizable ML solutions for live and streaming media.

License

Notifications You must be signed in to change notification settings

prantoran/mediapipe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MediaPipe

MediaPipe GSOC 2021: Web Video Effects App

  • Built on-top of the MediaPipe project.
  • The Emscripten mapping and the BUILD files for the project are in hello-world.
  • Summary of the work done during GSOC 2021 is here.

How to run the project

  • Set up MediaPipe using the official instructions.
    • The WebGL rendering via WASM uses GPU, so we need GPU version of MediaPipe setup.
    • The development environment for the project was Linux.
  • From the root directory of the project, run the command in the terminal:
    • make build && make run
    • The scripts that are executed are in scripts/... and Makefile.
    • make build compiles the WASM binaries:
      • bazel build -c opt //hello-world:hello-world-simple --config=wasm
    • make run copies the required outputs and runs a NodeJS server to run the WASM binaries locally.
      • Output files are copied from bazel-out/wasm-opt/bin/hello-world/...

Live Demo

  • WASM versions of face detection, selfie segmentation and face mesh are demonstated in the following web app.

About

Cross-platform, customizable ML solutions for live and streaming media.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 80.3%
  • Starlark 8.3%
  • Java 3.9%
  • Python 3.7%
  • Objective-C++ 1.4%
  • Objective-C 1.2%
  • Other 1.2%