homuler / mediapipe-sample-project

A repository to show how to build a mediapipe-dependent project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mediapipe sample project

This is a sample repository to setup a project that depends on mediapipe (v0.7.8). The main program is just the same as Hello World! on Desktop code.

Installation

Please follow the mediapipe official installation guide and ensure that you can run the official Hello World sample on your desktop.

Build & Run

git clone https://github.com/homuler/mediapipe-sample-project.git
cd mediapipe-sample-project

# Build
bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 //mediapipe_sample:hello_world

# Run
GLOG_logtostderr=1 bazel run -c opt --define MEDIAPIPE_DISABLE_GPU=1 //mediapipe_sample:hello_world

LICENSE

The main program (hello_world.cc) is distributed under Apache License 2.0. Other parts are distributed under UNLICENSE.

About

A repository to show how to build a mediapipe-dependent project

License:Apache License 2.0


Languages

Language:Starlark 66.2%Language:C++ 33.8%