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
apt-get update | |
apt-get install wget unzip curl build-essential tmux -y | |
wget https://repo.anaconda.com/miniconda/Miniconda3-py311_23.5.2-0-Linux-x86_64.sh | |
chmod +x ./Miniconda3-py311_23.5.2-0-Linux-x86_64.sh | |
./Miniconda3-py311_23.5.2-0-Linux-x86_64.sh -bu | |
export PATH=$PATH:$HOME/miniconda3/bin | |
conda init bash | |
source ~/.bashrc | |
conda activate |
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
nodes: | |
- id: camera | |
build: pip install opencv-video-capture | |
path: opencv-video-capture | |
inputs: | |
tick: dora/timer/millis/20 | |
outputs: | |
- image | |
env: | |
CAPTURE_PATH: 0 |
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
nodes: | |
- id: webcam | |
custom: | |
source: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/opencv_stream.py | |
outputs: | |
- image | |
- id: idefics2 | |
operator: | |
python: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/idefics2_op.py | |
inputs: |