geaxgx / depthai_blazepose

MIT License
322 stars 68 forks source link

what's wrong with my demo.py ? #12

Closed bewithme closed 3 years ago

bewithme commented 3 years ago

self.device = dai.Device(self.create_pipeline()) RuntimeError: No available devices

geaxgx commented 3 years ago

You get this error message when the device is not connected or connection is not ok. Check your connection. Have you been able to run other depthai demo like this one: https://docs.luxonis.com/en/latest/pages/tutorials/first_steps/#run-demo-script ?

bewithme commented 3 years ago

I have one webcam connected to my computer and it can work well with python open cv ,so it is strange to see that error

geaxgx commented 3 years ago

Have you followed the install requirements described there : https://docs.luxonis.com/en/latest/pages/tutorials/first_steps/#install-requirements (in particular if you are on linux, the commands in the Warning paragraph) ?

bewithme commented 3 years ago

Do I have to use OAK-1 or OAK-D ? I now just use ordinary webcam for testing.

geaxgx commented 3 years ago

Sure, you have to :-) Like it is said in the first line of the README: Running Google Mediapipe single body pose tracking models on DepthAI hardware (OAK-1, OAK-D, ...).

I have another repo (with an older version of the models) that should run with your webcam: https://github.com/geaxgx/openvino_blazepose

bewithme commented 3 years ago

thank you so much, but can you tell me the relationship between Mediapipe and blazepose ?and where I can buy the OAK-1 ?

geaxgx commented 3 years ago

You are welcome ! Mediapipe is an open-source framework from Google for building cross platform (Android, iOS, web,...) Machine Learning solutions. Mediapipe provides also a few dedicated models. Blazepose is one of them. In this current repo, I just take the Blazepose model (without using the other parts of the Mediapipe framework). For this repo, the model has then been converted to run on the depthai framework, dedicated to the OAK devices. You can find all the information about the OAK-1 and other depthai devices there: https://docs.luxonis.com/projects/hardware/en/latest/

geaxgx commented 3 years ago

Closed.