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

run as standalone network device on OAK-D Pro POE #28

Open
stephanschulz opened this issue Aug 14, 2022 · 3 comments
Open

run as standalone network device on OAK-D Pro POE #28

stephanschulz opened this issue Aug 14, 2022 · 3 comments

Comments

@stephanschulz
Copy link

Hello.

I know you might not have a POE device. But i was wondering if you know how i can make you code run without the need of a terminal window being open.

Right now i cd to my project repo and call python3.8 demo_osc.py -e --oscIP 10.100.0.101 --oscPort 12345 -xyz
I have modified your code already to not show a live video, not any window other than the terminal window.
I added code to send the skeleton data over UPD / OSC.

Thanks for your advice.

@geaxgx
Copy link
Owner

geaxgx commented Aug 15, 2022

If I understand correctly, the sending of the skeleton data over UPD/OSC is now done by the device (I guess via a script node).

Isn't the standalone mode what you need ? https://docs.luxonis.com/projects/api/en/latest/tutorials/standalone_mode/#converting-a-demo-to-standalone-mode

@stephanschulz
Copy link
Author

thanks for the link. i will study how to do the whole bootloader flashing.

This is my OSC sending code but i am not certain is it needs to be converted to be part of a pipeline. Not sure how to do that yet. So much learning to do :)
https://github.com/stephanschulz/depthai_blazepose/blob/main/depthai_osc/oscSender_osc.py#L103

@geaxgx
Copy link
Owner

geaxgx commented Aug 15, 2022

You may have a difficulty here. You are using third party python libraries (pythonosc) that are probably not supported on the script node. Here are the list of python modules and libraries: https://docs.luxonis.com/projects/api/en/latest/components/nodes/script/#available-modules-and-libraries
But maybe the code of the function you need is simple enough to be implemented with the supported librairies ?

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