haixuantao commited on
Commit
83ac11e
·
1 Parent(s): c875274

Adding data

Browse files
Files changed (40) hide show
  1. README.md +8 -0
  2. graphs/dataflow.yml +51 -53
  3. graphs/out/{018dff34-e690-798e-8fb4-1b96c1d14763/image.parquet → 018e2d97-bf30-71e3-90e0-5c5dbcf99268/bbox.parquet} +2 -2
  4. graphs/out/{018dff34-35f1-71b0-b8bc-e4a03a6333ab → 018e2d97-bf30-71e3-90e0-5c5dbcf99268}/image.parquet +2 -2
  5. graphs/out/018e2d97-bf30-71e3-90e0-5c5dbcf99268/position.parquet +3 -0
  6. graphs/out/018e2d98-c91e-73b2-8561-bf2b9210a9b3/bbox.parquet +3 -0
  7. graphs/out/018e2d98-c91e-73b2-8561-bf2b9210a9b3/image.parquet +3 -0
  8. graphs/out/018e2d98-c91e-73b2-8561-bf2b9210a9b3/position.parquet +3 -0
  9. graphs/out/018e2d9a-5dbb-7e27-94f3-48a99bd142f2/bbox.parquet +3 -0
  10. graphs/out/018e2d9a-5dbb-7e27-94f3-48a99bd142f2/image.parquet +3 -0
  11. graphs/out/018e2d9a-5dbb-7e27-94f3-48a99bd142f2/position.parquet +3 -0
  12. graphs/out/018e2d9b-fd2f-7acc-a54f-9e1311c38d33/bbox.parquet +3 -0
  13. graphs/out/018e2d9b-fd2f-7acc-a54f-9e1311c38d33/image.parquet +3 -0
  14. graphs/out/018e2d9b-fd2f-7acc-a54f-9e1311c38d33/position.parquet +3 -0
  15. graphs/out/018e2d9f-d043-72f6-8550-6753008349fa/bbox.parquet +3 -0
  16. graphs/out/018e2d9f-d043-72f6-8550-6753008349fa/image.parquet +3 -0
  17. graphs/out/018e2d9f-d043-72f6-8550-6753008349fa/position.parquet +3 -0
  18. graphs/out/018e2da1-9505-7025-b41f-b8f165bbe147/bbox.parquet +3 -0
  19. graphs/out/018e2da1-9505-7025-b41f-b8f165bbe147/image.parquet +3 -0
  20. graphs/out/018e2da1-9505-7025-b41f-b8f165bbe147/position.parquet +3 -0
  21. graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/audio.parquet +3 -0
  22. graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/bbox.parquet +3 -0
  23. graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/image.parquet +3 -0
  24. graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/mistral_output_file.parquet +3 -0
  25. graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/position.parquet +3 -0
  26. graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/raw_file.parquet +3 -0
  27. graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/saved_file.parquet +3 -0
  28. graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/whisper_text.parquet +3 -0
  29. graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/audio.parquet +3 -0
  30. graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/bbox.parquet +3 -0
  31. graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/control.parquet +3 -0
  32. graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/gimbal_control.parquet +3 -0
  33. graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/image.parquet +3 -0
  34. graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/mistral_output_file.parquet +3 -0
  35. graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/position.parquet +3 -0
  36. graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/raw_file.parquet +3 -0
  37. graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/saved_file.parquet +3 -0
  38. graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/whisper_text.parquet +3 -0
  39. operators/keybinding_op.py +1 -8
  40. operators/plot.py +10 -9
README.md CHANGED
@@ -24,6 +24,14 @@ configs:
24
  data_files:
25
  - split: train
26
  path: graphs/out/*/whisper_text.parquet
 
 
 
 
 
 
 
 
27
  license: apache-2.0
28
  language:
29
  - en
 
24
  data_files:
25
  - split: train
26
  path: graphs/out/*/whisper_text.parquet
27
+ - config_name: control
28
+ data_files:
29
+ - split: train
30
+ path: graphs/out/*/control.parquet
31
+ - config_name: gimbal_control
32
+ data_files:
33
+ - split: train
34
+ path: graphs/out/*/gimbal_control.parquet
35
  license: apache-2.0
36
  language:
37
  - en
graphs/dataflow.yml CHANGED
@@ -1,42 +1,37 @@
1
  nodes:
2
- # - id: robot
3
- # operator:
4
- # python: ../operators/robot.py
5
- # inputs:
6
- # blaster:
7
- # source: planning/blaster
8
- # queue_size: 1
9
- # led:
10
- # source: planning/led
11
- # queue_size: 1
12
- # control:
13
- # source: planning/control
14
- # queue_size: 1
15
- # gimbal_control:
16
- # source: planning/gimbal_control
17
- # queue_size: 1
18
- # tick:
19
- # source: dora/timer/millis/100
20
- # queue_size: 1
21
- # outputs:
22
- # - position
23
- # - id: bot_plot
24
- # operator:
25
- # python: ../operators/plot.py
26
- # inputs:
27
- # image: bot_webcam/image
28
- # bbox: object_detection/bbox
29
- # - id: bot_webcam
30
- # custom:
31
- # source: ../operators/opencv_stream.py
32
- # outputs:
33
- # - image
34
 
35
  - id: object_detection
36
  operator:
37
  python: ../operators/object_detection.py
38
  inputs:
39
- image: webcam/image
40
  outputs:
41
  - bbox
42
 
@@ -57,28 +52,27 @@ nodes:
57
  inputs:
58
  image: webcam/image
59
  text: whisper/text
60
- bbox: object_detection/bbox
61
 
62
 
63
- # - id: plot_bot
64
- # operator:
65
- # python: ../operators/plot.py
66
- # inputs:
67
- # image: bot_webcam/image
68
- # text: whisper/text
69
- # bbox: object_detection/bbox
70
 
71
- # - id: planning
72
- # operator:
73
- # python: ../operators/planning_op.py
74
- # inputs:
75
- # position: robot/position
76
- # bbox: object_detection/bbox
77
- # outputs:
78
- # - control
79
- # - gimbal_control
80
- # - led
81
- # - blaster
82
 
83
  ## Speech to text
84
  - id: keyboard
@@ -160,13 +154,17 @@ nodes:
160
  saved_file: file_saver/saved_file
161
  audio: microphone/audio
162
  whisper_text: whisper/text
 
163
  image: cv2_encoder/encoded_image
 
 
 
164
 
165
  ### Second Camera
166
  - id: cv2_encoder
167
  operator:
168
  python: ../operators/cv2_encoder_op.py
169
  inputs:
170
- image: webcam/image
171
  outputs:
172
  - encoded_image
 
1
  nodes:
2
+ - id: robot
3
+ operator:
4
+ python: ../operators/robot.py
5
+ inputs:
6
+ blaster:
7
+ source: planning/blaster
8
+ queue_size: 1
9
+ led:
10
+ source: planning/led
11
+ queue_size: 1
12
+ control:
13
+ source: planning/control
14
+ queue_size: 1
15
+ gimbal_control:
16
+ source: planning/gimbal_control
17
+ queue_size: 1
18
+ tick:
19
+ source: dora/timer/millis/100
20
+ queue_size: 1
21
+ outputs:
22
+ - position
23
+
24
+ - id: bot_webcam
25
+ custom:
26
+ source: ../operators/opencv_stream.py
27
+ outputs:
28
+ - image
 
 
 
 
 
29
 
30
  - id: object_detection
31
  operator:
32
  python: ../operators/object_detection.py
33
  inputs:
34
+ image: bot_webcam/image
35
  outputs:
36
  - bbox
37
 
 
52
  inputs:
53
  image: webcam/image
54
  text: whisper/text
 
55
 
56
 
57
+ - id: plot_bot
58
+ operator:
59
+ python: ../operators/plot.py
60
+ inputs:
61
+ image: bot_webcam/image
62
+ text: whisper/text
63
+ bbox: object_detection/bbox
64
 
65
+ - id: planning
66
+ operator:
67
+ python: ../operators/planning_op.py
68
+ inputs:
69
+ position: robot/position
70
+ bbox: object_detection/bbox
71
+ outputs:
72
+ - control
73
+ - gimbal_control
74
+ - led
75
+ - blaster
76
 
77
  ## Speech to text
78
  - id: keyboard
 
154
  saved_file: file_saver/saved_file
155
  audio: microphone/audio
156
  whisper_text: whisper/text
157
+ bbox: object_detection/bbox
158
  image: cv2_encoder/encoded_image
159
+ position: robot/position
160
+ control: planning/control
161
+ gimbal_control: planning/gimbal_control
162
 
163
  ### Second Camera
164
  - id: cv2_encoder
165
  operator:
166
  python: ../operators/cv2_encoder_op.py
167
  inputs:
168
+ image: bot_webcam/image
169
  outputs:
170
  - encoded_image
graphs/out/{018dff34-e690-798e-8fb4-1b96c1d14763/image.parquet → 018e2d97-bf30-71e3-90e0-5c5dbcf99268/bbox.parquet} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b0fa779836e7686470e7ad5a2fae328518fe289d5218df2a35fb5eaa314975c2
3
- size 3283843
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32569a6e9cd87c464f4341e09d15846c2ba9eb32a5f9b85f65ce75b6750fb5a9
3
+ size 5347
graphs/out/{018dff34-35f1-71b0-b8bc-e4a03a6333ab → 018e2d97-bf30-71e3-90e0-5c5dbcf99268}/image.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2b4b1bbbe635cbf1d40b4be3f1cb6cf35b3e6b6aacd684a2646a186eed1c2d80
3
- size 4570742
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae15dcf43196d026069882a5eb2fe6665e7d880ab7e42fdaab017cf4cc6ef9ed
3
+ size 4973598
graphs/out/018e2d97-bf30-71e3-90e0-5c5dbcf99268/position.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60b26abfb40f4d7e9b1d3e819792e20c47bd270e4b6f2f9d27c6817c6f29f4ed
3
+ size 4589
graphs/out/018e2d98-c91e-73b2-8561-bf2b9210a9b3/bbox.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d56a0f955d2a819ccec8616450e2b15aefecd18245a3d3b09260992647cdd11
3
+ size 14198
graphs/out/018e2d98-c91e-73b2-8561-bf2b9210a9b3/image.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e36a3a513480d907224bd2b8761438fd6c2bc790e725fba25d28f5f7761e7fe8
3
+ size 14201877
graphs/out/018e2d98-c91e-73b2-8561-bf2b9210a9b3/position.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c20bca4d21e773a77aca9e9b21283468ccd12281038d6d6708c22705d7d06a01
3
+ size 5365
graphs/out/018e2d9a-5dbb-7e27-94f3-48a99bd142f2/bbox.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5aa26e5ef8850777e21ca375d187db562d14ec616d28cf7be012655f2aa0abd
3
+ size 215902
graphs/out/018e2d9a-5dbb-7e27-94f3-48a99bd142f2/image.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e460de81a333a65aed32911e94655318a1414220fba63f0683dc8e7722bd75bb
3
+ size 183422197
graphs/out/018e2d9a-5dbb-7e27-94f3-48a99bd142f2/position.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb4e7a17436317b215e283ebc2bb31d1ef6d10cba33095009e6bc1c48c2e2963
3
+ size 29350
graphs/out/018e2d9b-fd2f-7acc-a54f-9e1311c38d33/bbox.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f819555069aa830f95c0ef35ae84abce978c33e231161bdb7b560a465b6da30
3
+ size 37938
graphs/out/018e2d9b-fd2f-7acc-a54f-9e1311c38d33/image.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8ac24e37a326c6b4eaa60505e2a8057c4fc1ffa7e529e8bfc11832ca352d26d
3
+ size 34621838
graphs/out/018e2d9b-fd2f-7acc-a54f-9e1311c38d33/position.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78c080db784504b8db3063b81de06a2d74879a8201cce9ad003522fb1ef454f7
3
+ size 7666
graphs/out/018e2d9f-d043-72f6-8550-6753008349fa/bbox.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acc1d22fec6d79c3c64ae2e2917c6012c25b7b03006ce606f2eccde0b453113d
3
+ size 171151
graphs/out/018e2d9f-d043-72f6-8550-6753008349fa/image.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:628acbb8682f829502fce10b057c2abf6ae793271cf5c2345f1c62d640d68131
3
+ size 243684667
graphs/out/018e2d9f-d043-72f6-8550-6753008349fa/position.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5cdf5eeeb5a0fc140fa9031cd9454445185aa1ab98a3d91d1fec43443c755ac
3
+ size 37904
graphs/out/018e2da1-9505-7025-b41f-b8f165bbe147/bbox.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b6be31c4ed56143196f0970188443d4277493071082d733a4b91f9830d25e13
3
+ size 101559
graphs/out/018e2da1-9505-7025-b41f-b8f165bbe147/image.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a6d71ba9886ff02fe35fb0b5bc1c5f65ac65980d051200ab5a78510b5bb32a1
3
+ size 153806107
graphs/out/018e2da1-9505-7025-b41f-b8f165bbe147/position.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c6019ecb73abbb42b1aff5872c22f901ea820630ef947212bc4fef7ef87201a
3
+ size 25321
graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/audio.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c64a28efa5019f027b1164621a5d5277e7ce338c08ae447a43daceb1d2314fd8
3
+ size 2406
graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/bbox.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e545d99c86fb7123af990f0409b832e967b79d872553234524f58ec4d3240864
3
+ size 51178
graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/image.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a17dee5340623962a30d868cd85a283e3b8cc531fa1c17e94934bdbe55031150
3
+ size 83296708
graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/mistral_output_file.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e507cc5252075922e0be1646a62ef6992b34957deb2bac6b55d61891e051d739
3
+ size 1130
graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/position.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06391a808f0bb077c82a35cb6a729d50fc3934220d382c14101fbb951e5d5c7d
3
+ size 15105
graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/raw_file.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bcf5ea85d802c9d893ff56238298b54ddb6915bb050dc415b3cc81e1eb85ecb
3
+ size 25352
graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/saved_file.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e20d825d340fdf055fc274297ee74e2c90469173898a4032744ab0f8821f5a4b
3
+ size 1028
graphs/out/018e2da2-a334-73e3-8054-749a3e3ccf70/whisper_text.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1049155b83edfbeafaad297d749c4a52192bed546874ab77e790d338fb9aab34
3
+ size 2403
graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/audio.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:588a3fb508ee22c5bcb8778cccc05e9123cd46535e69cd6853357e3680917d15
3
+ size 516670
graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/bbox.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd731f34950bbf159e975be48731e8a39906eeb8250e57091b1a7c44048b677a
3
+ size 442643
graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/control.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34b6e2026a465420df070a796c8ee95578aa4a0aba89b664e5c3d828cab90b8a
3
+ size 13048
graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/gimbal_control.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4746e8f0fc3bebb3ccadac1e9d21ce9035aebbac2da299ae561e58733cfa47fe
3
+ size 836
graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/image.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61c9c96a7a5c9b1fba26a58f294d1d076faf539cb8800a0b25767a1c5f204677
3
+ size 802801463
graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/mistral_output_file.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc8bb4cabd357831f64cee68b264ff03d943eed075dbea14a70f998b0d96dc61
3
+ size 29736
graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/position.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77a0d8d5ba8e3de88fad041fbdf70a42b48ad77d055a9220a25e91a4495303cd
3
+ size 30044
graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/raw_file.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49a36d7eedeeaeb48cf3bc3e16ad1581ed306963e4f33a7aa5ca470f93e79697
3
+ size 25904
graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/saved_file.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b91c5b4572fd9d6f7df457a96d22c1709b9c0e8a5fc68dc7bd8378a89df949c7
3
+ size 25887
graphs/out/018e2da9-3597-7b67-bd83-d8d4feb467cf/whisper_text.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3358d137bda698f1d8c257d6b12183ba74113b77108b9dbd0f07499486794efe
3
+ size 2821
operators/keybinding_op.py CHANGED
@@ -27,11 +27,4 @@ def on_key_release(key):
27
  pass
28
 
29
 
30
- pynput.keyboard.Listener(on_release=on_key_release).start()
31
-
32
- while node.next():
33
- pass
34
-
35
- import time
36
-
37
- time.sleep(0.5)
 
27
  pass
28
 
29
 
30
+ pynput.keyboard.Listener(on_release=on_key_release).run()
 
 
 
 
 
 
 
operators/plot.py CHANGED
@@ -114,15 +114,16 @@ class Operator:
114
  1,
115
  )
116
 
117
- cv2.putText(
118
- self.image, self.text_whisper, (20, 35), font, 1, (250, 250, 250), 2, 1
119
- )
120
-
121
- if CI != "true":
122
- writer.write(self.image)
123
- cv2.imshow("frame", self.image)
124
- if cv2.waitKey(1) & 0xFF == ord("q"):
125
- return DoraStatus.STOP
 
126
 
127
  return DoraStatus.CONTINUE
128
 
 
114
  1,
115
  )
116
 
117
+ if len(self.image) > 0:
118
+ cv2.putText(
119
+ self.image, self.text_whisper, (20, 35), font, 1, (250, 250, 250), 2, 1
120
+ )
121
+
122
+ if CI != "true":
123
+ writer.write(self.image)
124
+ cv2.imshow("frame", self.image)
125
+ if cv2.waitKey(1) & 0xFF == ord("q"):
126
+ return DoraStatus.STOP
127
 
128
  return DoraStatus.CONTINUE
129