Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gen2-age-gender - RuntimeError: No available devices while using video as input #80

Closed
revelly opened this issue Mar 6, 2021 · 4 comments

Comments

@revelly
Copy link

revelly commented Mar 6, 2021

This is in reference to experiment - gen2-age-gender
Showing below message when using command

python main.py -vid ./input.mp4
RuntimeError: No available devices

Note; I have not attached any camera device to system

@revelly revelly changed the title gen2-age-gender - RuntimeError: No available devices whil usign video as input gen2-age-gender - RuntimeError: No available devices while using video as input Mar 6, 2021
@alex-luxonis
Copy link
Contributor

A Luxonis device needs to be connected to the system. Even though the demo won't use the on-board camera, the video frames need to be sent from host over USB, then the device performs neural inference using the specialized AI processor, and sends the results back.

@revelly
Copy link
Author

revelly commented Mar 6, 2021

Thanks for quick response, got it! any possibility that we can use os instance processor (maybe with openVINO)?

@alex-luxonis
Copy link
Contributor

Not possible to use the DepthAI library with the host CPU as target processor.

But yes, you can use the same NN model with OpenVINO:
https://docs.openvinotoolkit.org/latest/omz_models_intel_age_gender_recognition_retail_0013_description_age_gender_recognition_retail_0013.html

You can find here a list of OpenVINO demos, together with their supported targets (CPU, GPU, or MYRIAD). The Luxonis devices are based on the MYRIAD architecture.
https://docs.openvinotoolkit.org/latest/omz_demos_README.html

@revelly
Copy link
Author

revelly commented Mar 6, 2021

ok. Thanks for the details!

@revelly revelly closed this as completed Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants