Skip to content

Commit

Permalink
Merge pull request #914 from luxonis/uvc_app_update
Browse files Browse the repository at this point in the history
Updated depthai for UVC app
  • Loading branch information
Erol444 committed Jan 20, 2023
2 parents 2c17a68 + 16c069a commit ec55504
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/uvc/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

# Pipeline defined, now the device is connected to
with dai.Device(pipeline, usb2Mode=False) as device:
if device.getDeviceInfo().desc.protocol == dai.XLinkProtocol.X_LINK_USB_VSC and device.getUsbSpeed() not in (dai.UsbSpeed.SUPER, dai.UsbSpeed.SUPER_PLUS):
if device.getDeviceInfo().protocol == dai.XLinkProtocol.X_LINK_USB_VSC and device.getUsbSpeed() not in (dai.UsbSpeed.SUPER, dai.UsbSpeed.SUPER_PLUS):
print("This app is temporarily disabled with USB2 connection speed due to known issue. We're working on resolving it. In the meantime, please try again with a USB3 cable/port for the device connection", file=sys.stderr)
raise SystemExit(1)
print("\nDevice started, please keep this process running")
Expand Down
2 changes: 1 addition & 1 deletion apps/uvc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
--extra-index-url https://artifacts.luxonis.com/artifactory/luxonis-python-snapshot-local/
depthai==2.17.0.0.dev+e6a4209ba1880a3c0f162a9ce2be5f34ba7579f6
depthai==2.19.1.0.dev+e88af9a9db3dc630a3011dd52d1f5700cf6bf9b8
depthai-sdk==1.2.1

0 comments on commit ec55504

Please sign in to comment.