-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcamera.yml
49 lines (47 loc) · 1.11 KB
/
camera.yml
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
nodes:
- id: camera1 # Run on car
# build: pip install opencv-video-capture
path: opencv-video-capture
_unstable_deploy:
machine: ec7
inputs:
tick: dora/timer/millis/20
outputs:
- image
env:
CAPTURE_PATH: 0
IMAGE_WIDTH: 640
IMAGE_HEIGHT: 480
ENCODING: jpeg
FLIP: VERTICAL
- id: camera2 # Run on car
# build: pip install opencv-video-capture
path: opencv-video-capture
_unstable_deploy:
machine: ec7
inputs:
tick: dora/timer/millis/20
outputs:
- image
env:
CAPTURE_PATH: 2
IMAGE_WIDTH: 640
IMAGE_HEIGHT: 480
ENCODING: jpeg
FLIP: VERTICAL
- id: plot
# build: |
# wget -nc https://github.com/dora-rs/gosim-2024/releases/download/v0.0.1/rerun
# wget -nc https://github.com/dora-rs/gosim-2024/releases/download/v0.0.1/dora-rerun
path: dora-rerun
inputs:
image_1:
source: camera1/image
queue_size: 1
image_2:
source: camera2/image
queue_size: 1
env:
IMAGE_WIDTH: 640
IMAGE_HEIGHT: 480
RERUN_MEMORY_LIMIT: 25%