DepthAI capture script.
Option 1: Using Conda
conda create -n capture python=3.11
conda activate captureOption 2: Using Python venv
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install -r requirements.txtpython capture_data_stereo.py [--ip IP] [--settings /path/to/settings.json] [--capture-name NAME]--settings: Path to settings JSON file (default:capture_settings.json)--capture-name: Optional name for the capture (will be included in folder name and metadata)--ip: Device IP address (optional, uses USB if not specified)--autostart: Automatically start capturing after N seconds (-1 to disable)
Edit capture_settings.json to configure capture parameters. To capture more frames, change:
"num_captures": 20to a higher number (or use "inf" for unlimited capture).
s: Start/stop captureq: Quit