Skip to content

Commit

Permalink
MediaPipe's graph for dumper
Browse files Browse the repository at this point in the history
  • Loading branch information
d61h6k4 committed Feb 17, 2021
1 parent 68ee5da commit 5f8c643
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions runner/ap_demo_debug_graph.pbtxt
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 5f8c643

Please sign in to comment.