add dynamic import for cv2 and pyrealsense2

This commit is contained in:
Remi Cadene
2024-09-09 19:32:35 +02:00
parent 2469c99053
commit 44b8394365
4 changed files with 66 additions and 43 deletions

View File

@@ -5,6 +5,11 @@ Example usage:
```bash
pytest -sx tests/test_cameras.py::test_camera
```
Example of running test on mocked_koch:
```bash
python -m pytest -sx -k "mocked_koch" tests/test_cameras.py::test_camera
```
"""
import numpy as np