In this directory there are usage examples of depthai-python repository.
- Configure and build python module with DEPTHAI_PYTHON_TEST_EXAMPLES option enabled
mkdir -p build && cd build
cmake .. -DDEPTHAI_PYTHON_TEST_EXAMPLES=ON
cmake --build . --parallel
To test all examples
ctest
To execute a specific example (without timeout)
TEST_TIMEOUT=0 ctest -R "01_rgb_preview" --verbose
NOTE For clearness, a disparity
output is used instead of depth
, as disparity is better to visualize
NOTE For clearness, a disparity
output is used instead of depth
, as disparity is better to visualize
NOTE For clearness, a disparity
output is used instead of depth
, as disparity is better to visualize