From bf379b4afa062df7d11f8c176737e24930b0cca5 Mon Sep 17 00:00:00 2001 From: Jules Youngberg Date: Wed, 11 May 2022 23:54:16 -0700 Subject: [PATCH] add usage instructions to readme --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 477eb40..42dc836 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Rust and mediapipe. Mediapipe is a framework for building AI-powered computer vision and augmented reality applications. It provides high level libraries exposing some of its solutions for common problems. This package makes some of these solutions available in Rust. In order to use it we must build a C++ library that provides an interface to the mediapipe 'engine'. -Figuring all this out has been a challenge. I have made these forks and instructions to help me in the future. There are a number of improvements I'd like to make when I have the time. +Figuring all this out has been a challenge. I have made these forks and instructions to help me in the future. ## requirements @@ -38,6 +38,14 @@ cp bazel-bin/mediapipe/libmediagraph.so /usr/local/lib/libmediagraph.so cp mediapipe/cpuhost.h /usr/local/include/mediagraph.h ``` +## usage + +Add the following to your dependencies list in `Cargo.toml`: + +```toml +ux-mediapipe = "https://github.com/julesyoungberg/ux-mediapipe" +``` + ## binding generation The binding generation should be automated. Currently it is a combination of manual commands and manual file editing...not ideal.