SwatiModi / virtual-background-app

A Zoom-like real-time virtual background app, made with Portrait segmentation and Google's MediaPipe
Apache License 2.0
42 stars 21 forks source link

Undeclared Indentifier "ValueOrDie" #5

Open jeranio opened 3 years ago

jeranio commented 3 years ago

mediapipe/calculators/image/background_masking_calculator.cc:63:36: error: use of undeclared identifier 'ValueOrDie' background = cv::imread(status,ValueOrDie() 1);

I am getting this error in my bazel build. Any ideas why?

jeranio commented 3 years ago

Okay, I managed to resolve this with the aid of my colleague who is fluent in C++. The line of code was changed to this.

background = cv::imread(status,value() 1);