1
0
Fork 0

get devices

master
jebba 2021-07-19 17:48:43 -06:00
parent 1b36e56406
commit 1e1c4e55bb
1 changed files with 7 additions and 0 deletions

7
get-devices.py 100755
View File

@ -0,0 +1,7 @@
#!/usr/bin/python3
import depthai
for device in depthai.Device.getAllAvailableDevices():
print(f"{device.getMxId()} {device.state}")