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
0
votes
0 answers

How to work with MediaPipe Multi-class selfie segmentation model?

I am working with MediaPipe library and wanted to detect hair and clothes from image. On their website, they gave good example and you can download and run the code. However, I want that when I detect hair or clothes, that area will become white and…
WasimSafdar
  • 1,044
  • 3
  • 16
  • 39
0
votes
1 answer

How do I fix this python hand tracking with mediapipe and open-cv error?

So I am following this tutorial:Tutorial I cannot seem to get the HandTrackingModule working. The HandTrackingMin works fine. The difference is that I put all the code in a function and run it in the Module but in the min i just run it. The error…
goody
  • 45
  • 5
0
votes
0 answers

mediapipeUnityPlugin Mapping 3d coordinates with unity's human like avatar

here is fbx model body bones and this is mediapipeUnityPlugin 33 point information i want to motion tracking using this skeleton
Eilia
  • 21
  • 6
0
votes
1 answer

Twisted python, sending lots of data from client to server. No data from server. Data is transferred when I hit 'q' to quit

Here is my Twisted Python client. If I could get it to work at all without a server, I would, but just getting it to work at all has been difficult. I don't really want to send any data from the other server to the client yet. I just want the…
John Carlson
  • 321
  • 1
  • 13
0
votes
1 answer

Cannot import mediapipe - TypeError: 'numpy._DTypeMeta' object is not subscriptable

The install is successful. I receive this error when trying to import. TypeError: 'numpy._DTypeMeta' object is not subscriptable I have tried higher and lower versions of numpy (1.22.0,1.23.0,1.24.0,1.25.0,1.25.2). I installed mediapipe via pypi…
Climbs_lika_Spyder
  • 6,004
  • 3
  • 39
  • 53
0
votes
0 answers

Problem with using pyautogui for a mouse from mediapipe

I'm trying to make a mouse that recognizes gestures via mediapipe and interprets them as actions. In this case, I implemented the movement of the mouse and the click, but when implementing the drag (dragTo) the program generates problems for me. I…
0
votes
0 answers

Mediapipe without Face detector is Possible?

Is there a way to operate only the face mesh without the face detector in the face feature detection guide? (https://developers.google.com/mediapipe/solutions/vision/face_landmarker/python) As a face detector, I want to use the model I developed,…
0
votes
0 answers

How to display angle found from 3 3d points using opencv-python

I have the following code to calculate angle between 3 body points for my opencv project and display them: import cv2 import mediapipe as mp import numpy as np mp_drawing = mp.solutions.drawing_utils mp_pose = mp.solutions.pose def Calc_Angle(a,…
SachinS
  • 1
  • 2
0
votes
0 answers

No module named mediapipe.tasks

Traceback (most recent call last): File "demo.py", line 3, in from mediapipe.tasks import python ModuleNotFoundError: No module named 'mediapipe.tasks' when I try to run my demo.py which copyed from mediapipe's example, it said "No…
0
votes
0 answers

Why is Mediapipe messing with my sound card?

This is an issue when using Stable Diffusion Automatic 1111 DirectML, and the adetailer extension. It has some Mediapipe options in it. When those are activated, SD stops generating. I get a popup about my Creative ASIO device changing. I have…
Jake King
  • 1
  • 1
0
votes
1 answer

"No matching distribution found for mediapipe." on macOS High Sierra python3.11.4 pip 23.2.1

python -m pip install mediapipe ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none) ERROR: No matching distribution found for mediapipe First of all, I removed all old pythons (2.7, 3.6). Then installed…
0
votes
0 answers

MediaPipe - Which Image Segmentation Model For Portrait Aspect Ratios

Using MediaPipe Image Segmentation we have two different model options (offered by Google) for aspect ratios of the input, square and landscape as documented here:…
0
votes
0 answers

Mediapipe's output 'multi_hand_landmarks' not working in the code

the line in question is line 2 Its not allowing the hand Left-Right Recognition mp_hands.HandLandmark.WRIST result.multi_hand_landmarks[1] result.multi_handedness[0].classification[0].index ==…
0
votes
0 answers

How to Integrate MediaPipe Hand Tracking in a Jetpack Compose Android App?

I am working on an Android application using Jetpack Compose and I want to integrate MediaPipe's Hand Gesture recognition into my app. I am able to set up MediaPipe in my project and I have the .pbtxt files for the hand tracking graph. However, I am…
Huxel
  • 106
  • 9
0
votes
0 answers

Why does mediapipe become less accurate in detecting faces comparing those 2 codes?

I am trying to crop faces on multi-people and return [img, idx] of each person. When I try the first example, all 7 people in the image can be detected. However, when I make this code as a module, it can only detect 4 people and I don't know what…