Giter Site home page Giter Site logo

Comments (6)

MegatronKing avatar MegatronKing commented on April 27, 2024 2

I have this issue too.

from mediapipe.

jiuqiant avatar jiuqiant commented on April 27, 2024 1

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.

jiuqiant avatar jiuqiant commented on April 27, 2024 1

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.

mmxuan18 avatar mmxuan18 commented on April 27, 2024

me too on macos

from mediapipe.

jiuqiant avatar jiuqiant commented on April 27, 2024

We are closing this issue for now due to lack of activity. Please comment if this is still an issue for you.

from mediapipe.

rawnsley avatar rawnsley commented on April 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.