-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
README
section for rerun within the dataflow
- Loading branch information
1 parent
3c43f8c
commit 9133406
Showing
3 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
nodes: | ||
- id: camera | ||
build: pip install ../../node-hub/opencv-video-capture | ||
path: opencv-video-capture | ||
inputs: | ||
tick: dora/timer/millis/20 | ||
outputs: | ||
- image | ||
env: | ||
CAPTURE_PATH: 0 | ||
IMAGE_WIDTH: 640 | ||
IMAGE_HEIGHT: 480 | ||
|
||
- id: plot | ||
build: cargo build -p dora-rerun --release | ||
path: dora-rerun | ||
inputs: | ||
image: | ||
source: camera/image | ||
queue_size: 1 | ||
env: | ||
IMAGE_WIDTH: 640 | ||
IMAGE_HEIGHT: 480 | ||
README: | | ||
# Visualization of your webcam | ||
- You can increase or decrease the frequency within the dataflow with: `tick: dora/timer/millis/20` in the webcam node. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
nodes: | ||
- id: camera | ||
build: pip install -e ../../node-hub/opencv-video-capture | ||
path: opencv-video-capture | ||
inputs: | ||
tick: dora/timer/millis/20 | ||
outputs: | ||
- image | ||
env: | ||
CAPTURE_PATH: 0 | ||
IMAGE_WIDTH: 640 | ||
IMAGE_HEIGHT: 480 | ||
|
||
- id: dora-qwenvl | ||
build: pip install -e ../../node-hub/dora-qwenvl | ||
path: dora-qwenvl | ||
inputs: | ||
image: | ||
source: camera/image | ||
queue_size: 1 | ||
tick: dora/timer/millis/200 | ||
outputs: | ||
- text | ||
- tick | ||
env: | ||
DEFAULT_QUESTION: Describe the image. | ||
|
||
- id: plot | ||
build: cargo build -p dora-rerun --release | ||
path: dora-rerun | ||
inputs: | ||
image: | ||
source: camera/image | ||
queue_size: 1 | ||
text: dora-qwenvl/tick | ||
env: | ||
IMAGE_WIDTH: 640 | ||
IMAGE_HEIGHT: 480 | ||
README: | | ||
# Visualization of your webcam | ||
- You can increase or decrease the frequency within the dataflow with: `tick: dora/timer/millis/20` in the webcam node. | ||
- You can change the model prompt within the dataflow with: `DEFAULT_QUESTION: Describe the image.` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters