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

TypeError: 'NormalizedLandmarkList' object is not iterable mediapipe

I need some help with this code....., the error is "TypeError: 'NormalizedLandmarkList' object is not iterable mediapipe". In the 19th line of the code. import cv2 import mediapipe as mp import math mp_drawing = mp.solutions.drawing_utils mp_hands…
BHuang
  • 21
  • 1
  • 2
2
votes
1 answer

What's the correct way writing a mediapipe aar BUILD file?

I am trying to use mediapipe holistic in flutter android. I tried to follow the documentation but am still quite unsure how to write a BUILD file to build aar. I’ve also read through the documentation but unfortunately the example code provided…
jun
  • 21
  • 1
2
votes
0 answers

Distance Measurement from an Image

I want to measure distance between pupils within a precision of 2-3 mm. I'm considering to use a credit card held on forehead so that distance in pixels can be converted into mm. I have tried some libraries(such as opencv and dlib) but failed to…
Patroclos
  • 99
  • 6
2
votes
1 answer

How to get landmarks of iris detection in mediapipe c++?

I am trying to write the landmarks of face+eyes to terminal I have added a couple of lines to demo_run_graph_main: #include "mediapipe/calculators/util/landmarks_to_render_data_calculator.pb.h" #include…
Efim Rubin
  • 173
  • 1
  • 16
2
votes
1 answer

Can I use the local video file on the mediapipe? (JS)

I am a student studying programming. I am not good at English, so I wrote it using a translator. I'm studying the mediapipe. https://google.github.io/mediapipe/solutions/face_mesh Do you know how to use local video instead of webcam? let…
oreapo
  • 21
  • 2
2
votes
0 answers

Making a face detection script with python inside blender

I'm trying to make a python script inside blender that uses the mediapipe module to get the coordinates of the landmarks of my hands, face, and body and then i want to move an object to thosse specific coordinates I got the coordinate part done but…
metalex
  • 131
  • 9
2
votes
2 answers

Bazel + C++ project: how to specify working directory for 'run' command

I'm trying to run a bazel target with bazel run command from workspace root. And I want to pass relative path as an argument to this target. Currently it doesn't recognize this pass, whilst manual run from console works fine. So I conclude that…
2
votes
0 answers

bazel build error : platformclasspath.jar failed (Exit 1): java failed: error executing command

I want to install mediapipe on my Mac&Android by following the two tutorials below. https://google.github.io/mediapipe/getting_started/install.html https://google.github.io/mediapipe/getting_started/android.html So I tried the bazel build command,…
pekochun
  • 487
  • 1
  • 3
  • 14
2
votes
3 answers

Mediapipe facemesh vertices mapping

I am trying to use Google's Mediapipe face mesh in my custom graphic engine for a personal project. I found that there is a face mesh picture that indicates the mapping from the landmarks index to the face mesh location. However, there are 486…
Trip1eLift
  • 133
  • 2
  • 8
2
votes
0 answers

Template Matching through python API on Linux desktop

I'm following the tutorial on using your own template images to do object 3D pose tracking, but I'm trying to get it working on Ubuntu 20.04 with a live webcam stream. I was able to successfully make my index .pb file with extracted KNIFT features…
2
votes
0 answers

Uncaught (in promise) RuntimeError: abort(undefined) at Error in codepen mediapipe

I am trying to use codepen mdeiapipe pose detection files in my project but i am getting these below javascript errors. If somebody could help. I am using control_utils.js, camera_utils.js, control_utils_3d.js, pose.js, drawing_utils.js
2
votes
1 answer

Is it possible to create a plotly animated 3D scatter plot of mediapipe's body pose landmarks and connections?

I am currently working on a project where I am using the mediapipe's body pose estimation library, I know that using plotly we can create animated 3D scatter plots. I was wondering if it's possible to create a animated plot of the body pose…
Atharva Katre
  • 457
  • 1
  • 6
  • 17
2
votes
2 answers

is possible to face recognition with mediapipe in python

I try to make app with python to be able recognition face, recently use cv2+dlib and face_recognition module for recognition, but i have two problems: have 3 or 4 second delay low accuracy That's why I decided to use another library, after so many…
A.Motahari
  • 173
  • 5
  • 10
2
votes
1 answer

mediapipe javascript to vue component?

I'm building a project that need's to use mediapipe and I don't know how to implement it into my Vue.js project. Can you guys help me? I would love to install the mediapie model through npm, and import it at vue component. This is the…
k3nzy
  • 41
  • 4
2
votes
0 answers

How can I use one media pipe graph to process multiple camera(rtsp stream)?

for example, 16 cameras, only one GPU on a server, maybe at most init 4 graph to decode,inference, than encode. So every 1 graph need to process 4 video streams. but I didn't find any config like camera_id or source_id yet in mediapipe.
yisha7
  • 21
  • 1