Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to run multi-hand tracking on video #884

Closed
ghost opened this issue Jul 7, 2020 · 1 comment
Closed

unable to run multi-hand tracking on video #884

ghost opened this issue Jul 7, 2020 · 1 comment
Assignees

Comments

@ghost
Copy link

ghost commented Jul 7, 2020

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)
@jiuqiant
Copy link
Collaborator

jiuqiant commented Jul 7, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant