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

How to access Mediapipe Hand Landmarks for Android (Java)

How can the landmarks for hands be accessed in the Android version of MediaPipe? (Java) I'd like to access the joints' positions in space. A similar project that someone else has done in Python is…
KemptCode
  • 34
  • 6
1
vote
1 answer

MediaPipe hands-detection hands.process waits forever

When I run the following Python file import tensorflow as tf import tensorflow_hub as hub from tensorflow_docs.vis import embed import numpy as np import cv2 import json import mediapipe as mp mp_drawing =…
Richard Lindhout
  • 2,038
  • 2
  • 23
  • 38
1
vote
2 answers

OpenCV(4.5.5) :-1: error: (-5:Bad argument) in function 'cvtColor'

Can you guys help me? I'm trying to use my own data (path = data) to create a dataset by applying the mediapipe on my videos. The processed vid (.ny) will be in output folder (path = O_Video) which I have declared previously. No of seq is 30 as I…
BaiduriRazak
  • 23
  • 1
  • 6
1
vote
2 answers

ModuleNotFoundError: No module named 'mediapipe.python._framework_bindings' on Raspberry Pi 3

I'm having problems using mediapipe on my raspberry pi 3. Using "import mediapipe" gives no error, however using "mp_drawing = mp.solutions.drawing_utils" (for example) gives out the following error message: ModuleNotFoundError: No module named…
goulaoalex
  • 11
  • 1
  • 1
  • 2
1
vote
1 answer

How to deal with MediaPipe Plug in build ERROR

I am trying to follow this for a mediapipe plug in in unity. I followed all steps but when i run the command python build.py build --desktop cpu --include_opencv_libs -v I get following error. I am unable to understand, can anyone please guide…
Mahi_G
  • 29
  • 1
  • 2
1
vote
0 answers

Install mediapipe on pydroid3

I'm working on a hand tracking project on Android phone using pydroid3. But I'm not able to install mediapipe on it. It says no matching distribution found. Kindly help if it's possible to install it.
1
vote
0 answers

Training data of variable video length in sign language

I am trying to extract keypoints from training data of variable video length in sign language using MediaPipe and use them for LSTM training. Because the length of video data is variable ex) 2 sec, 7 sec, 3 sec... I've been thinking of three…
노영훈
  • 11
  • 2
1
vote
1 answer

mediapipe hair segmentation in Javascript

How would I convert this demo into a standalone script that runs in the background without needing to press the 'run' button or display the code? I've inspected the source, but the JS all seems to be minified and hard to decipher.
skunkwerk
  • 2,920
  • 2
  • 37
  • 55
1
vote
0 answers

How to disable smoothing pose estimation landmarks in mediapipe (Unity plugin)?

I integrated mediapipe in my Unity project using the plugin by homuler. Unfortunately, setting smoothLandmarks = true for the pose estimation (PoseTrackingGraph.cs) does not have an effect. private SidePacket BuildSidePacket(ImageSource…
link
  • 491
  • 1
  • 4
  • 13
1
vote
2 answers

How to crop face detected via Mediapipe in Python

i have a problem with mediapipe coordinations. What i want to do is crop the box of the detected face. https://google.github.io/mediapipe/solutions/face_detection.html EXAMPLE OF PROCEDURE And i use this code below: mp_face_detection =…
podikakos
  • 61
  • 1
  • 6
1
vote
1 answer

Integrating Mediapipe into iOS

Problem: After building Mediapipe and playing around with their example iOS apps I was surprised to see that I could not find any comprehensive materials out there from which you can learn how to take their Machine Learning frameworks and further…
Thirsty4K
  • 68
  • 8
1
vote
1 answer

MediaPipe Selfie Segmentation results are not invoking when moved to other Chrome tabs

const videoElement =document.getElementsByClassName('input_video')[0]; selfieSegmentationObj = new SelfieSegmentation({locateFile: (file) => { return `https://cdn.jsdelivr.net/npm/@mediapipe/selfie_segmentation/${file}`; …
Yella Goud
  • 157
  • 1
  • 4
  • 14
1
vote
1 answer

Cannot install mediapipe package in Pycharm terminal or Package installer

I am trying to use Mediapipe with python. I originally tried mediapipe-rpi4 which did install successfully. But when I run it I get this error message Traceback (most recent call last): import mediapipe as mp File…
Nana Carr
  • 11
  • 1
  • 2
1
vote
0 answers

Cant print X coords of landmark while from video, but can while from photo Mediapipe

I want to print the coords of a landmark from webcam, but I keep getting the error that "NoneType" object is not subscriptable, but when I change the code just a bit, to get the same coord of the same landmark, but from a photo, it is able to print…
1
vote
1 answer

Value is continuously increasing when the condition is true. Mediapipe library

When the condition is true my counter value is increasing continuously instead of only one value. If angle is greater than 90 degree it keeps increasing like 1,2,3,4,5 instead of 1 than 2 than 3 Shoulder = new float[]…