-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkflow_standard.yaml
More file actions
76 lines (71 loc) · 1.84 KB
/
workflow_standard.yaml
File metadata and controls
76 lines (71 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Workflow defined in YAML.
---
workflow:
- tool_id: source_files
description: Get list of video files.
input_from: # None
input_format: # None
input_queue_size: 10
tool: SourceFiles
parameters:
source_dir: ./wirc_recordings/
# path_glob_string: "**/*.mp4"
path_glob_string: "**/rpi-cam0_*.mp4"
# path_glob_string: "**/rpi-cam1_*.mp4"
# path_glob_string: "**/usb-cam0_*.mp4"
# path_glob_string: "**/usb-cam1_*.mp4"
output_formats:
- source_file
- tool_id: read_video
description: Read video file.
input_from: source_files
input_format: source_file
input_queue_size: 10
tool: ReadVideo
parameters:
todo: TODO
output_formats:
- video_frame
- tool_id: frame_scanner
description: Frame scanner.
input_from: read_video
input_format: video_frame
input_queue_size: 10
tool: FrameScanner
parameters:
kernel_size: 5
min_contour_area: 50
max_contour_area: 5000
text_info: true
font_scale: 1.0
# font_scale: 0.75
output_formats:
- video_frame
- tool_id: save_video
description: Save video.
# input_from: extract_movements
input_from: frame_scanner
input_format: video_frame
input_queue_size: 10
tool: SaveVideo
parameters:
target_dir: ./video_target
output_formats: None
- tool_id: save_diagram
description: Save as diagram.
input_from: frame_scanner
input_format: video_frame
input_queue_size: 10
tool: SaveDiagram
parameters:
target_dir: ./video_target/diagrams
output_formats: None
# - tool_id: save_table
# description: Save as diagram.
# input_from: frame_scanner
# input_format: video_frame
# input_queue_size: 10
# tool: SaveTable
# parameters:
# todo: TODO
# output_formats: None