Last active
September 4, 2022 20:10
-
-
Save zepadovani/a630280a51dda380b9350e78c4d1ce77 to your computer and use it in GitHub Desktop.
Install mediapipe in Mojave
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install opencv-contrib-python==4.4.0.46 | |
brew install bazel | |
cd "/usr/local/Cellar/bazel/4.1.0/libexec/bin" && curl -fLO https://releases.bazel.build/3.7.2/release/bazel-3.7.2-darwin-x86_64 && chmod +x bazel-3.7.2-darwin-x86_64 | |
brew install protobuf | |
git clone https://github.com/google/mediapipe | |
cd mediapipe | |
# in the mediapipe folder: | |
python setup.py gen_protos | |
python setup.py install --link-opencv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment