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
1 answer

Run Mediapipe pose tracker on Colab as a continuous video stream

I am running a pose tracking application on Colab (with mediapipe). It does not show a continuous video, instead it runs my video frame by frame, showing them in succession in the output section below my block of code. So it becomes very slow at…
1
vote
1 answer

Mediapipe's "multi_hand_landmarks" not working

I am trying out opencv and handtracking for the first time. I am following step by step code from the official website of "Mediapipe". But whenever i try to write "results.multi_hand_landmarks", PyCharm gives an error saying Unresolved Attribute…
Hassan Shahzad
  • 455
  • 6
  • 14
1
vote
1 answer

React Native and Mediapipe ios framework compatible

I created a MediaPipe ios framework And I'm trying to integrate it into a React Native project But the app crash in Mutex::Lock() without any information I believe the reason is my framework and RN both use glog How can I disable glog for one of…
Robert
  • 45
  • 3
1
vote
1 answer

How to set input to the LSTM ( pose recognition through videos), if my videos are with variable frames?

I have 2 poses to classify. For each pose i have 60 video samples. But the problem is that the total number of frames in each video are different. In that case, the input to the LSTM will be uneven. Is there any way to solve this? or we need the…
Lakpa Tamang
  • 408
  • 1
  • 4
  • 12
1
vote
1 answer

getting focal length to calculate distance from Mediapipe iris in browser?

as mentioned here (sec:Depth-from-Iris: Depth Estimation from a Single Image) the iris model could be used to get distance from screen using triangle similarity. I'm trying to implement this on a browser webapp using mediapipe iris but not sure how…
rickmdy
  • 11
  • 1
1
vote
1 answer

findPose() missing 1 required positional argument: 'self'

import cv2 import time import mediapipe as mp def main(): cap = cv2.VideoCapture(0) pTime = 0 # Previous time global img detector = poseDetector while True: success, img = cap.read() detector.findPose() …
1
vote
0 answers

The following error occurred when I was compiling mediapipe

ERROR: /home/stone/.cache/bazel/_bazel_stone/daa4d9495d1d97556676d10ee33a3cad/external/maven/BUILD:468:11: Merging compiled Android resources for @maven//:androidx_lifecycle_lifecycle_viewmodel failed (Exit 1): ResourceProcessorBusyBox failed: error…
CrazyStone
  • 11
  • 1
1
vote
1 answer

The mediapipe library fails to build on High Sierra

I am trying to compile the latest version (v0.8.5) of mediapipe library with gcc ver 11.1.0 and bazel ver 3.7.2 on my MacBook Pro running High Sierra. After following all the installation steps as mentioned on mediapipe GitHub site, I am able to run…
aks20000
  • 11
  • 1
1
vote
3 answers

What could be the cause for the MediaPipe installation error on Windows with Python 3.8.3?

I try to install MediaPipe on Windows, but it doesn't work. What can I do now? The command line used to start the installation with my user´s profile directory being the current directory: pip install mediatype The output error messages…
Lucifer
  • 11
  • 4
1
vote
0 answers

How do I add a 3D model to medeiapipe project?

So, I am trying to make an app with face-effects(Snapchat-like). I have tried augmented faces, but it has a huge video delay, so I am trying mediapipe now. and I have successfully tested their example app, the only problem is that they have basic…
Efim Rubin
  • 173
  • 1
  • 16
1
vote
0 answers

How to get the model view matrix for each face landmark returned by mediapipe?

I am trying to extract the model view matrix for each face landmark returned by mediapipe just like what we can do with ARCore as in here so that I can render a 3D object at an exact landmark. Using the face geometry example of mediapipe, I can…
Nguyen Cong
  • 174
  • 1
  • 13
1
vote
0 answers

Having issue with compiling mediapipe?

I have py 3.9 and the latest version of PyPI(pip) installed. I installed mediapipe 3.8(lastest) using: pip install mediapipe I installed OpenCV + VC tools + setuptools + pyinstaller and all the other needed dependencies... I coded a simple python…
7Wdev
  • 47
  • 7
1
vote
3 answers

ImportError: DLL load failed: The specified module could not be found. After successfully installing the package

Mediapipe was successfully install via PyCharm, OpenCV was successfully install. However, I get this error: from mediapipe.python._framework_bindings import resource_util ImportError: DLL load failed: The specified module could not be found.
Alex Pop
  • 184
  • 1
  • 2
  • 13
1
vote
0 answers

How to change or set "Configuration Options" in Mediapipe?

Checked around the documents but didn't find anything regards to a graph's option. I'm using C++ BTW. Like on this page https://google.github.io/mediapipe/solutions/holistic.html According to the document, it has following "Configuration…
BZH
  • 71
  • 1
  • 7
1
vote
0 answers

Using BlazePose in flutter

I want to make an app which uses Blazepose model (instead of COCO model) which returns 33 body landmark locations. It is created by Mediapipe. Link to download this tflite model is…