Skip to content

Latest commit

 

History

History

README.md

Utilities

This folder contains DepthAI utility tools.

Device Manager

Device Manager

device_manager.py helps interfacing with the device Bootloader and bootloader configuration. See Device Manager Usage to see how to use this utility.

Standalone executable

Requirements:

# Linux/macOS
python3 -m pip install pyinstaller
# Windows
python -m pip install pyinstaller

To build standalone executable issue the following command:

pyinstaller --onefile -w --icon=assets/icon.ico --add-data="assets/icon.ico;assets" --add-data="assets/icon.png;assets" device_manager.py

Optionally, append --runtime-tmpdir [path or .] to modify where the temporary directory should be created when launched.

Cam Test

Run:

python3 cam_test.py

To start cam test with GUI.
Run cam_test.py with args to start cam test without GUI:

Bundled executable

Requirements:

# Linux/macOS
python3 -m pip install pyinstaller
# Windows
python -m pip install pyinstaller

To build a bundled executable issue the following command:

pyinstaller -w cam_test.py --hidden-import PyQt5.sip

The executable will be located in dist/cam_test folder.