geaxgx / depthai_hand_tracker

Running Google Mediapipe Hand Tracking models on Luxonis DepthAI hardware (OAK-D-lite, OAK-D, OAK-1,...)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuntimeError: No available devices

codewithleo1103 opened this issue · comments

I installed requirements and trying run python3 demo.py. Then show:

Palm detection blob : /home/ubuntu/Desktop/research/hand/depthai_hand_tracker/models/palm_detection_sh4.blob
Landmark blob : /home/ubuntu/Desktop/research/hand/depthai_hand_tracker/models/hand_landmark_lite_sh4.blob
Traceback (most recent call last):
File "./demo.py", line 59, in
tracker = HandTracker(
File "/home/ubuntu/Desktop/research/hand/depthai_hand_tracker/HandTracker.py", line 130, in init
self.device = dai.Device()
RuntimeError: No available devices

Please help me solve this problem!!!

This error is probably unrelated to the hand tracking code. One possible explanation is that your camera isn't connected correctly. Consider following the steps here (https://docs.luxonis.com/en/latest/pages/tutorials/first_steps/) if you haven't already.