1.1 KiB
1.1 KiB
Examples
This folder contains user-facing example scripts for the Orisys SDK.
Files
basic_pipeline.py: single-sensor basic processing and visualization flowtwo_sensor_pipeline.py: dual-sensor multiprocessing exampleplot_data.py: real-time plotting example with PyQtGraph
Typical usage
Run examples from the repository root so relative paths such as ./config/ddjx01.json
resolve correctly.
Basic pipeline
python examples/basic_pipeline.py -v 0 -c ./config/ddjx01.json
Two-sensor pipeline
python examples/two_sensor_pipeline.py
Real-time plotting
python examples/plot_data.py -v 0 -c ./config/ddjx01.json
Requirements
- Python environment with the SDK dependencies installed
- a supported camera or test video
- valid JSON config in
./config/
Some examples also require:
pyqtgraphPyQt5- multiple cameras for multi-sensor demos
Notes
- Most examples assume a tactile sensor camera is connected.
- Press
qin the display window to quit where applicable. - If your camera index is not
0, change-vaccordingly.