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

Demos doesn't work

Quantum-0 opened this issue · comments

Commit: c803ad3
Python 3.10.0
depthai==2.14.1.0
Windows, Laptop with camera

Log:

> python demo.py
Palm detection blob : C:\Users\Quantum\PycharmProjects\depthai_hand_tracker\models\palm_detection_sh4.blob
Landmark blob       : C:\Users\Quantum\PycharmProjects\depthai_hand_tracker\models\hand_landmark_lite_sh4.blob
Traceback (most recent call last):
  File "C:\Users\Quantum\PycharmProjects\depthai_hand_tracker\demo.py", line 59, in <module>
    tracker = HandTracker(
  File "C:\Users\Quantum\PycharmProjects\depthai_hand_tracker\HandTracker.py", line 130, in __init__
    self.device = dai.Device()
RuntimeError: No available devices

What I'm doing wrong?

Hi, this repository works only with Luxonis DepthAI hardware (OAK-D, OAK-D lite, OAK-1,... https://docs.luxonis.com/projects/hardware/en/latest/) and not with usual webcam.

@geaxgx
Iinput say can be image. Quick look at code shows trying load device at start with image/video specified with -i

see linked line, does not seem to have a way without device already linked. I dont have device but this repo suggest it can run on mp4 or image.

@Anton-Velikodnyy Even if you use an image or a video as input, you still need an OAK* device to run the neural networks on the device's MyriadX.