Relative Content

Tag Archive for pythonmediapipe

how to set mediapipe error for dataset path

when i run this code it gives an error of image directory dataset is empty while the directory is valid and its also show content when using another method i think the problem is with gesture recognizer
import os

Are there any mediapipe python code for multiclass selfie segmentation?

When running the demo of selfie segmentation(https://ai.google.dev/edge/mediapipe/solutions/vision/image_segmenter),
it seems that simple selfie segmentation fails to tell man’s head from chair. Multiclass selfie segmentation works greatly so that I want to implement the model. However, it seems that the mediapipe library does not support any functions for it.

How to draw multiple landmark of people on a movie by MediaPipe Pose

I am trying to get multiple people to draw landmarks using MediaPipe’s Pose with Python3.10.14, but it does not work. The program is forced to exit without error. In other words, it is not trapped by “except” in the code. The following is a code which always fails at detection_result = detector.detect_async(...) line.