Skip to content

Commit c0a2d6e

Browse files
authored
Merge pull request #1151 from luxonis/update_lib_version
Updated lib version
2 parents 03ba356 + 619e78f commit c0a2d6e

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/test_install_requirements.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@
9191
- name: Download chocolatey
9292
shell: pwsh
9393
run: Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
94-
- name: Install dependencies
94+
- name: Install pycharm-community dependency
9595
shell: pwsh
96-
run: choco install cmake git python --version 3.10 pycharm-community -y
96+
run: choco install pycharm-community -y
9797
- name: Install requrirements
9898
run: |
9999
python install_requirements.py

depthai_demo.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ def setup(self, conf: ConfigManager):
206206
self._nnManager.countLabel(self._conf.getCountLabel(self._nnManager))
207207
self._pm.setNnManager(self._nnManager)
208208

209-
self._device = dai.Device(self._pm.pipeline.getOpenVINOVersion(), self._deviceInfo, usb2Mode=self._conf.args.usbSpeed == "usb2")
209+
maxUsbSpeed = dai.UsbSpeed.HIGH if self._conf.args.usbSpeed == "usb2" else dai.UsbSpeed.SUPER
210+
self._device = dai.Device(self._pm.pipeline.getOpenVINOVersion(), self._deviceInfo, maxUsbSpeed)
210211
self._device.addLogCallback(self._logMonitorCallback)
211212
if sentryEnabled:
212213
try:
@@ -288,7 +289,7 @@ def run(self):
288289

289290
if self._conf.useCamera:
290291
cameras = self._device.getConnectedCameras()
291-
if dai.CameraBoardSocket.LEFT in cameras and dai.CameraBoardSocket.RIGHT in cameras:
292+
if dai.CameraBoardSocket.CAM_B in cameras and dai.CameraBoardSocket.CAM_C in cameras:
292293
self._pv.collectCalibData(self._device)
293294

294295
self._updateCameraConfigs({

depthai_sdk/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ opencv-contrib-python>4
44
blobconverter>=1.4.1
55
pytube>=12.1.0
66
--extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/
7-
depthai==2.22.0
7+
depthai==2.24.0
88
PyTurboJPEG==1.6.4
99
marshmallow==3.17.0
1010
xmltodict

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ depthai-sdk==1.9.4
66
--extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/wheels/
77
pyqt5>5,<5.15.6 ; platform_machine != "armv6l" and platform_machine != "armv7l" and platform_machine != "aarch64" and platform_machine != "arm64"
88
--extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/
9-
depthai==2.21.2.0
9+
depthai==2.24.0.0
1010
Qt.py
1111
scipy

0 commit comments

Comments
 (0)