Comments (6)
I have this issue too.
from mediapipe.
It seems to be a compatibility issue between Mediapipe and OpenCV4.1.1 on macos.
The glog v0.4.0 installed by brew for OpenCV4.1.1 somehow is not compatible with the glog v0.3.5 used by MediaPipe.
We are working on a fix. For now, a temporary workaround could be
$ brew uninstall --ignore-dependencies glog
$ bazel clean --expunge
$ bazel run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world
from mediapipe.
In 785d266, we switched the default OpenCV version to 3.4.5 on macos.
You can do the following steps to switch the opencv dependency and rebuild the hello world example:
brew uninstall opencv
brew uninstall --ignore-dependencies glog
brew install opencv@3
git pull
bazel clean --expunge
export GLOG_logtostderr=1 && bazel run --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/hello_world:hello_world
from mediapipe.
me too on macos
from mediapipe.
We are closing this issue for now due to lack of activity. Please comment if this is still an issue for you.
from mediapipe.
FYI using opencv@3 on it's own didn't work for me. I still had to run brew uninstall --ignore-dependencies glog
afterwards. I had never run brew install opencv
(without the @ version qualifier)
from mediapipe.
Related Issues (20)
- Failed to get LLM params: INVALID_ARGUMENT: LLM model file is null HOT 6
- In my Flutter project, I use the blaze_face_short_range.tflite model and get output in the format [1, 896, 16] and [1, 896, 1]. Tell me how I can turn them into coordinates. HOT 4
- Selfie Segmentation vs Image Segmentation HOT 2
- Google Meet's model (image_segmenter) HOT 1
- Availability of previous version wheels HOT 3
- Detection of non-existent landmarks HOT 1
- Mediapipe with WebGL2... HOT 5
- MediaPipe shouldn't resize the external canvas HOT 3
- hair segmetation through medipipe code in python HOT 6
- Hair segmentation : ValueError: could not broadcast input array from shape (3,) into shape (337,325,4) HOT 3
- difference in results for landmarks and world_landmarks HOT 1
- <uses-native-library> missing in Android LLM Inference Guide HOT 3
- Allow cancelling ongoing async generation in LlmInference HOT 3
- Integrate MediaPipeTasksVision into dynamic framework throws Undefined symbols error HOT 1
- When will the new, improved blendshape prediction model v3 be implemented into Mediapipe? HOT 1
- Pose model failure reason
- Eyebrow Segmentation with Mediapipe in Python HOT 1
- online web demo yields better hand detection than its python equivalent HOT 4
- It is incorrect of using pose_landmark_full.tflite inference HOT 7
- Can't use MediaPipe in VisionOS development HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediapipe.