Skip to content

How to run MediaPipe real-time gesture recognizer task in C++? #5938

Open
@pollarana

Description

@pollarana

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)

None

OS Platform and Distribution

Ubuntu 24.04 LTS Linux 6.11.0-19-generic

MediaPipe Tasks SDK version

No response

Task name (e.g. Image classification, Gesture recognition etc.)

Gesture recognition

Programming Language and version (e.g. C++, Python, Java)

C++

Describe the actual behavior

bazel buil is executed but does not run further because targets and pbtxt file are missing

Describe the expected behaviour

running the gesture recognizer example in full, like hand tracking

Standalone code/steps you may have used to try to get what you need

see the "other info" section

Other info / Complete Logs

bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/tasks/cc/vision/gesture_recognizer:gesture_recognizer
INFO: Elapsed time: 1716.747s, Critical Path: 1131.64s
INFO: 2577 processes: 285 internal, 2292 processwrapper-sandbox.
INFO: Build completed successfully, 2577 total actions

bazel run  --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/tasks/cc/vision/gesture_recognizer:gesture_recognizer
ERROR: Cannot run target //mediapipe/tasks/cc/vision/gesture_recognizer:gesture_recognizer: Not executable
INFO: Elapsed time: 0.610s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
ERROR: Build failed. Not running target

Metadata

Metadata

Assignees

Labels

platform:c++Issues specific to C++ framework in mediapipestalestat:awaiting responseWaiting for user responsetask:gesture recognitionIssues related to hand gesture recognition: Identify and recognize hand gesturestype:supportGeneral questions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions