luxonis / depthai

DepthAI Python API utilities, examples, and tutorials.
https://docs.luxonis.com
MIT License
934 stars 233 forks source link

[QUESTION] run only on OKA-D Pro POE as standalone device #770

Open stephanschulz opened 2 years ago

stephanschulz commented 2 years ago

Hello.

I was wondering if you have a. tutorial explaining how i can make any of my code run only on my OAK-D Pro POE without the need of a terminal window being open. Specifically i am working successfully with this repo https://github.com/geaxgx/depthai_blazepose

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 the code already to not show a live video, not show any window other than the terminal window. I added code to send the skeleton data over UPD / OSC.

I am hoping that i can upload the code, then disconnect my computer and have the OAK-D send the OSC messages in to the network where an other computer can pick it up.

Thanks for your help.

Erol444 commented 2 years ago

Hi @stephanschulz , You should check our Standalone mode documentation page, which addresses just that. Thoughts? Thanks, Erik

stephanschulz commented 2 years ago

thanks for the link. In my case i am uncertain if i need to wrap my OSC sending code in to a pipeline and if so how to do that correctly. https://github.com/stephanschulz/depthai_blazepose/blob/main/depthai_osc/oscSender_osc.py#L103