• Community
  • Oak-D POE examples but working with tcp streaming

Hello,
I was able to setup the Oak-D using the example gen2-tcp-streaming example. I want to know how do I run the other examples you in the same tcp streaming way? Do I need to copy pertinent portions of the streaming code to the example I want to use? I would like to setup the gen2-depth-mbnv2 but using the over tcp like I currently have it running.

  • erik replied to this.

    Hi BilboBaggins ,
    Yes you would need to copy the "tcp streaming logic" (logic inside script node) from the gen2-tcp-streaming demo and the NN depth estimation logic from the gen2-depth-mbnv2.
    My approach would be to remove all XLinkOut from the gen2-depth-mbnv2, and instread of streaming via XLink to the host, stream to the Script node which then sends out TCP packets to a server.
    Thoughts?

    Thanks, Erik