profile
viewpoint

Ask questionsunable to run multi-hand tracking on video

run

GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/hand_tracking/hand_tracking_cpu \
  --calculator_graph_config_file=mediapipe/graphs/hand_tracking/multi_hand_tracking_desktop_live.pbtxt \
  --input_video_path=/test/no_mask_no_teacher.mp4 \
  --output_video_path=/test/1.mp4 \

erro message

[libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/text_format.cc:309] Error parsing text-format mediapipe.CalculatorGraphConfig: 17:75: Could not find type "type.googleapis.com/mediapipe.CollectionHasMinSizeCalculatorOptions" stored in google.protobuf.Any.
F20200707 02:44:45.360370   118 parse_text_proto.h:27] Check failed: google::protobuf::TextFormat::ParseFromString(input, &result) 
*** Check failure stack trace: ***
    @     0x5645eb5304cf  google::LogMessage::SendToLog()
    @     0x5645eb52f19b  google::LogMessage::Flush()
    @     0x5645eb530db9  google::LogMessageFatal::~LogMessageFatal()
    @     0x5645eb152bc5  RunMPPGraph()
    @     0x5645eb145019  main
    @     0x7efd8d0b7b97  __libc_start_main
    @     0x5645eb15104a  _start
    @              (nil)  (unknown)
Aborted (core dumped)
google/mediapipe

Answer questions jiuqiant

Because you use the wrong binary.

In docs/solutions/hands.md, we mention that

With Multi-hand Support
Running on CPU
Graph: mediapipe/graphs/hand_tracking/multi_hand_tracking_desktop_live.pbtxt
Target: mediapipe/examples/desktop/multi_hand_tracking:multi_hand_tracking_cpu

Please do

bazel-bin/mediapipe/examples/desktop/multi_hand_tracking/multi_hand_tracking_cpu \
  --calculator_graph_config_file=mediapipe/graphs/hand_tracking/multi_hand_tracking_desktop_live.pbtxt
useful!

Related questions

Get hand_tracking_cpu source code to extract detected hand metadata hot 2
stdout: stderr: xcodebuild: error: SDK "macosx10.10" cannot be located. - mediapipe hot 1
SSL certification error while downloading dependency libraries via Bazel hot 1
Build of Hello World Failed on Darwin (MacOS) hot 1
Build of Hello World Failed on Darwin (MacOS) hot 1
Bazel build failed in Android Studio hot 1
Memory leak of facedetectioncpu example on Android (RK3399 specific) - mediapipe hot 1
Fail to pull in MediaPipe's external dependencies due to unstable internet connection hot 1
at com.google.mediapipe.apps.objectdetectioncpu.MainActivity.<clinit>(MainActivity.java:50) hot 1
Hand Tracking Desktop GPU Build Error hot 1
ERROR: An error occurred during the fetch of repository 'bazel_skylib' hot 1
Bazel build failed to fetch Maven dependency hot 1
Is there a way to change color in real time on the hair segmentation android? - mediapipe hot 1
Running error hot 1
Hello World failed build on Raspberry Pi - mediapipe hot 1
source:https://uonfu.com/
Github User Rank List