Skip to content

Commit

Permalink
Merge pull request #1151 from luxonis/update_lib_version
Browse files Browse the repository at this point in the history
Updated lib version
  • Loading branch information
Erol444 committed Feb 23, 2024
2 parents 03ba356 + 619e78f commit c0a2d6e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_install_requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@
- name: Download chocolatey
shell: pwsh
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'))
- name: Install dependencies
- name: Install pycharm-community dependency
shell: pwsh
run: choco install cmake git python --version 3.10 pycharm-community -y
run: choco install pycharm-community -y
- name: Install requrirements
run: |
python install_requirements.py
Expand Down
5 changes: 3 additions & 2 deletions depthai_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ def setup(self, conf: ConfigManager):
self._nnManager.countLabel(self._conf.getCountLabel(self._nnManager))
self._pm.setNnManager(self._nnManager)

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

if self._conf.useCamera:
cameras = self._device.getConnectedCameras()
if dai.CameraBoardSocket.LEFT in cameras and dai.CameraBoardSocket.RIGHT in cameras:
if dai.CameraBoardSocket.CAM_B in cameras and dai.CameraBoardSocket.CAM_C in cameras:
self._pv.collectCalibData(self._device)

self._updateCameraConfigs({
Expand Down
2 changes: 1 addition & 1 deletion depthai_sdk/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ opencv-contrib-python>4
blobconverter>=1.4.1
pytube>=12.1.0
--extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/
depthai==2.22.0
depthai==2.24.0
PyTurboJPEG==1.6.4
marshmallow==3.17.0
xmltodict
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ depthai-sdk==1.9.4
--extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-depthai-data-local/wheels/
pyqt5>5,<5.15.6 ; platform_machine != "armv6l" and platform_machine != "armv7l" and platform_machine != "aarch64" and platform_machine != "arm64"
--extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/
depthai==2.21.2.0
depthai==2.24.0.0
Qt.py
scipy

0 comments on commit c0a2d6e

Please sign in to comment.