Questions tagged [mediapipe]

When you are facing any implementation issue for mediapipe in your android, iOS or desktop application, When you want any clarification on concept , methods on mediapipe etc ask question with this tag.

MediaPipe is a framework for building multimodal (eg. video, audio, any time series data), cross platform (i.e Android, iOS, web, edge devices) applied ML pipelines. With MediaPipe, a perception pipeline can be built as a graph of modular components, including, for instance, inference models (e.g., TensorFlow, TFLite) and media processing functions.

585 questions
1
vote
0 answers

mediapipe modifying face landmark subgraph problem

I want to modify facemesh example and implement another face_landmark model. I've explored face_landmark module, in face_landmark_gpu subgraph there are some node that made me confused. As far as I know, face_landmark_gpu is responsible for getting…
Milad Yousefi
  • 191
  • 2
  • 9
1
vote
1 answer

Bazel doesn't build ios mediapipe examples

I tried to build HandTrackingExample and get this…
annaFerdsf
  • 329
  • 2
  • 14
1
vote
0 answers

How to solve 'GLOG_logtostderr' not recongnised error in window?

When I am trying to run mediapipe hand-tracking on cmd in windows it is throwing this error: 'GLOG_logtostderr' is not recognized as an internal or external command, operable program or batch file. Here's the snapshot of cmd: enter image description…
1
vote
0 answers

what does MP_RETURN_IF_ERROR do in google's mediapipe code?

std::string calculator_graph_config_contents; // name of string MP_RETURN_IF_ERROR(mediapipe::file::GetContents( FLAGS_calculator_graph_config_file, &calculator_graph_config_contents)); LOG(INFO) << "Get calculator graph config contents:…
1
vote
2 answers

unable to understand use of scope resolution operator

::mediapipe::Status RunMPPGraph() { std::string calculator_graph_config_contents; MP_RETURN_IF_ERROR(mediapipe::file::GetContents( FLAGS_calculator_graph_config_file, &calculator_graph_config_contents)); LOG(INFO) << "Get calculator…
1
vote
1 answer

How to prevent face detection bounding box from being drawn in mediapipe android

I recently (less than a week), started using the mediapipe library to implement face detection, so please apologies in advance. So far I have been able to build an android aar and use this aar in my application, with success. However I do not want…
user681443
  • 267
  • 2
  • 11
1
vote
1 answer

Mediapipe: How to properly dealloc MPPGraph

It is unclear to me how to properly stop and deallocate the MPPGraph. I created a framework very similar to this. Every time a dealloc is called in some way this exception is thrown. Thread 1: Exception: "waitUntilDoneWithError: should not be called…
Santiago Calvo
  • 116
  • 1
  • 6
0
votes
0 answers

Get time from landmark timestamp to next timestamp

Hej, I want to get the cycle time between two starts detected through this if statement. This approach however results in ms. If I manually compare the time between starts with the output it's within 2-3s. Would appreciate some help! counter…
Hansson
  • 112
  • 6
0
votes
0 answers

How to show the video with mediapipe in html in django?

my html and views.py are refer to https://roytuts.com/upload-and-play-video-using-django/, but i want to change the display video to video with mediapipe,what should i do or change in my code? mediapipe code in views.py: def…
何艾穎
  • 1
  • 1
0
votes
0 answers

Inquiry on Slowing Down the Graph's Operation Speed in MediaPipe

I'm working on a feature that utilizes face_mesh_cpu. However, my inquiry is not limited to this particular use-case. In face_mesh_cpu, a FlowLimiterCalculator is used to control the flow of the graph. The FlowLimiterCalculator discards the…
Duhan Kim
  • 1
  • 1
0
votes
0 answers

MediaPipe's development stage

I would like to know in what phase of Development Mediapipe is? Is it in alpha, beta or stable/Production? I saw in the following website that it is in Alpha stage. https://pypi.org/project/mediapipe/ Development stage mentioned in PyPi Please…
0
votes
0 answers

An error occurred during the fetch of repository 'local_config_apple_cc'

On Mac OS, I get the following error when trying to run the "Hello World!" in C++ example. It says there is no repository local_config_apple_cc Is this something wrong with my PC settings? Could you tell me why I am getting this error. export…
u.taaa
  • 1
  • 2
0
votes
0 answers

Unreliable joint visibility in media pipe pose estimation

How can we assure a media pipe pose joint landmarks are reliable and not predicted? We are using the python MP SDK, complexity = 1. Our application requires very high reliability of visible joints in the frame. The MP predicts joints present…
0
votes
0 answers

ModuleNotFoundError 'mediapipe'

I have been trying to install mediapipe on my M2 Pro Mac but have not had any success since weeks now. I have followed the guide found on https://developers.google.com/mediapipe/framework/getting_started/install#installing_on_macos . As soon as I…
SHOULD_3R
  • 9
  • 1
0
votes
0 answers

Error in Converting Python Script to Executable: FileNotFoundError When Running Facial Landmark Detection and Mouse Control Code

I've been working on a Python script that utilizes OpenCV, MediaPipe, and PyAutoGUI libraries to perform facial landmark detection and control the mouse cursor based on detected landmarks. The script works perfectly when executed as a Python script,…
Jawad
  • 166
  • 7