Hello'
I a problem with dephtai library, when i run the next code :
import depthai as dai
try:
with dai.Device() as device:
print("Device accessible !")
except Exception as e:
print("Erreur :", e)
Output:
(venv) C:\Users\o.kone\Desktop\sheetsTests>py test.py
Device accessible !
But when i run this one ,i give error but the device is available:
import depthai as dai
try:
pipeline = dai.Pipeline()
with dai.Device() as device:
print("Device accessible !")
except Exception as e:
print("Erreur :", e)
Output
(venv) C:\Users\o.kone\Desktop\sheetsTests>py test.py
Erreur : No available devices (1 connected, but in use)