You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_live.pbtxt
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1705417055.522904 30032 demo_run_graph_main.cc:50] Get calculator graph config contents: # MediaPipe graph that performs hands tracking on desktop with TensorFlow
I0000 00:00:1705417055.523425 30032 demo_run_graph_main.cc:56] Initialize the calculator graph.
E0000 00:00:1705417055.525294 30032 demo_run_graph_main.cc:156] Failed to run the graph: ValidatedGraphConfig Initialization failed.
No registered object with name: RendererSubgraph; Unable to find Calculator "RendererSubgraph"
The text was updated successfully, but these errors were encountered:
_live.pbtxt
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1705417055.522904 30032 demo_run_graph_main.cc:50] Get calculator graph config contents: # MediaPipe graph that performs hands tracking on desktop with TensorFlow
Lite on CPU.
Used in the example in
mediapipe/examples/desktop/hand_tracking:hand_tracking_cpu.
CPU image. (ImageFrame)
input_stream: "input_video"
CPU image. (ImageFrame)
output_stream: "output_video"
Generates side packet cotaining max number of hands to detect/track.
node {
calculator: "ConstantSidePacketCalculator"
output_side_packet: "PACKET:num_hands"
node_options: {
[type.googleapis.com/mediapipe.ConstantSidePacketCalculatorOptions]: {
packet { int_value: 2 }
}
}
}
Detects/tracks hand landmarks.
node {
calculator: "HandLandmarkTrackingCpu"
input_stream: "IMAGE:input_video"
input_side_packet: "NUM_HANDS:num_hands"
output_stream: "LANDMARKS:landmarks"
output_stream: "HANDEDNESS:handedness"
output_stream: "PALM_DETECTIONS:multi_palm_detections"
output_stream: "HAND_ROIS_FROM_LANDMARKS:multi_hand_rects"
output_stream: "HAND_ROIS_FROM_PALM_DETECTIONS:multi_palm_rects"
}
Subgraph that renders annotations and overlays them on top of the input
images (see hand_renderer_cpu.pbtxt).
node {
calculator: "HandRendererSubgraph"
input_stream: "IMAGE:input_video"
input_stream: "DETECTIONS:multi_palm_detections"
input_stream: "LANDMARKS:landmarks"
input_stream: "HANDEDNESS:handedness"
input_stream: "NORM_RECTS:0:multi_palm_rects"
input_stream: "NORM_RECTS:1:multi_hand_rects"
output_stream: "IMAGE:output_video"
}
Add New Node
node {
calculator: "MyPassThroughCalculator"
input_stream: "LANDMARKS:hand_landmarks"
input_stream: "NORM_RECT:hand_rect"
input_stream: "DETECTIONS:palm_detections"
output_stream: "LANDMARKS:hand_landmarks_out"
output_stream: "NORM_RECT:hand_rect_out"
output_stream: "DETECTIONS:palm_detections_out"
}
Modify input_stream names of next node
Subgraph that renders annotations and overlays them on top of the input
images (see renderer_cpu.pbtxt).
node {
calculator: "RendererSubgraph"
input_stream: "IMAGE:input_video"
input_stream: "LANDMARKS:hand_landmarks_out"
input_stream: "NORM_RECT:hand_rect_out"
input_stream: "DETECTIONS:palm_detections_out"
output_stream: "IMAGE:output_video"
}
I0000 00:00:1705417055.523425 30032 demo_run_graph_main.cc:56] Initialize the calculator graph.
E0000 00:00:1705417055.525294 30032 demo_run_graph_main.cc:156] Failed to run the graph: ValidatedGraphConfig Initialization failed.
No registered object with name: RendererSubgraph; Unable to find Calculator "RendererSubgraph"
The text was updated successfully, but these errors were encountered: