From 5f8c6435a6ecbcadf829e4f145dabe4bb3b6a7f7 Mon Sep 17 00:00:00 2001 From: d61h6k4 Date: Wed, 17 Feb 2021 09:23:29 +0100 Subject: [PATCH] MediaPipe's graph for dumper --- runner/ap_demo_debug_graph.pbtxt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 runner/ap_demo_debug_graph.pbtxt diff --git a/runner/ap_demo_debug_graph.pbtxt b/runner/ap_demo_debug_graph.pbtxt new file mode 100644 index 0000000..01916b3 --- /dev/null +++ b/runner/ap_demo_debug_graph.pbtxt @@ -0,0 +1,27 @@ +# profiler_config { +# trace_enabled: true +# enable_profiler: true +# trace_log_interval_count: 200 +# } +#Decodes an input video file into images and a video header. +node { + calculator: "OpenCvVideoDecoderCalculator" + input_side_packet: "INPUT_FILE_PATH:input_video_path" + output_stream: "VIDEO:input_video" + output_stream : "VIDEO_PRESTREAM:input_video_header" +} + +node { + calculator: "AutoproductionObjectDetectionCalculator" + input_stream: "IMAGE_FRAME:input_video" + output_stream: "SPORTBALLS_DETECTION:sportballs_detection" + output_stream: "PERSONS_DETECTION:persons_detection" +} + + +node { + calculator: "AutoproductionDumpCalculator" + input_stream: "SPORTBALLS_DETECTION:sportballs_detection" + input_stream: "PERSONS_DETECTION:persons_detection" + input_side_packet: "OUTPUT_DETECTIONS_FILE_PATH:output_detections_file_path" +}