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

Mediapipe: AttributeError: 'NoneType' object has no attribute 'landmark'

I want to recognize the pose in the video using Mediapipe. There is nothing wrong with using the example code, but when using a method to recognize only certain landmarks, AttributeError: 'NoneType' object has no attribute 'landmark' errors continue…
dee_to
  • 11
  • 2
1
vote
1 answer

MediaPipe selfie segmentation: Getting error when trying to capture stream from canvas

I'm trying to use selfie segmentation on the image from my webcam. For this, I'm using the MediaPipe lib. Here is my code const selfieSegmentation = new SelfieSegmentation({locateFile: (file) => { return…
1
vote
2 answers

Issue with leaked resources and python crash in application that uses mediapipe for face / hand tracking

I have a simple face and hand tracking python application using the mediapipe library that crashes after it has been running a few minutes. In the task manager I can see the memory usage almost continually growing taking all available system memory…
AaronC
  • 97
  • 8
1
vote
0 answers

i cannot install mediapipe in pycharm and mine is 64 bit and python version is 3.11.1

ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none) ERROR: No matching distribution found for mediapipe enter image description here i tried using "pip install mediapipe" and "py pip install mediapipe" but…
1
vote
1 answer

TypeError: _mediapipe_face_mesh__WEBPACK_IMPORTED_MODULE_3__.FaceMesh is not a constructor

I wish to integrate mediapipe into a NextJS + Electron application. However, upon importing FaceMesh and "attempting" to use it, i am getting the following error on @mediapipe/face_mesh: For context, I am using a NextJS + Electron with the help of…
Zong Xun
  • 23
  • 4
1
vote
1 answer

Why the drawn coordinate points do not disappear

I draw human body coordinate points on a black window, but the coordinate points will remain even if there is no human body in that place.How to make these points disappear normally.This is code. import cv2 import numpy as np import mediapipe as…
459zyt
  • 31
  • 4
1
vote
0 answers

Why does my Android Tablet not Report Focal length or Sensor width?

So this is something that's been blocking us for a while now. For context, we're trying to use Google's MediaPipe library on an Android tablet. However, it crashes complaining about a Null array Process: com.example.jarvis, PID: 9853 …
1
vote
0 answers

? zmq.libzmq imported from - Building 'dist\main.exe'. error: [WinError 87] the parameter is incorrect. PY2EXE

I want to convert my python file main.py into an executable. I'm using Py2exe to do this. This is my code. Setup for the conversion ` from distutils.core import setup import py2exe setup( options = {'py2exe': {'bundle_files': 1}}, windows =…
1
vote
1 answer

Mediapipe Pose: How to slice the pose.process().pose_landmarks? in order to draw only selected keypoints?

Given the following example: import cv2 #OpenCV is the library that we will be using for image processing import mediapipe as mp #Mediapipe is the framework that will allow us to get our pose estimation import time mpDraw =…
Dave
  • 349
  • 4
  • 22
1
vote
0 answers

Mediapipe as dll on unsupported language

Mediapipe exist for python or js, but I would like to use it with unsupported native language. Usualy I use dll and export function. With the current source of mediapipe, does it's possible to generate a dll ? I try to generate dll from py but I got…
1
vote
0 answers

Mediapipe Pose, how can I release memory hold by pose model? (Python)

I am creating a pose model and this holds let's say 100MB in the memory. When I remove the pose model object with "del" command and use the garbage collector, the memory it holds is not released. Exactly 100MB is held in the memory until I reset my…
1
vote
0 answers

Python for Android Mediapipe Import Error: Wrong Build Version

I successfully build a python kivy app for android on my Ubuntu system which makes use of opencv and mediapipe. However, when runnning the app I get the following error in logcat: ImportError: dlopen failed:…
Muleque
  • 71
  • 2
  • 12
1
vote
0 answers

Does MediaPipe Hand detection use an egocentric view (dataset)?

According to my knowledge, there are a variety of approaches for detecting hands based on different datasets. (third-person view / egocentric view). Does the mediapipe hand detector model use the egocentric view ? If not, does Handtrack.js use…
MesMes
  • 59
  • 5
1
vote
1 answer

Type error: create_bool(): incompatible function arguments. Need some advice on this one

i'm trying to create a pose detection module but for some reason i get this error every time. it has something to do with my variable declerations but i don't understand what. When i try to convert it to a module it gives me this type error, and…
1
vote
1 answer

I get this error while installing Mediapipe python in command prompt

The following is the error:- ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none) ERROR: No matching distribution found for mediapipe........ My version is 64 bit and the latest one 3.11.0 and also the pip…