Hi Luxonis Team,
I am working with an OAK-D RVC4 camera and trying to implement YOLO Instance Segmentation using the C++ API v3.
I am having trouble finding a basic boilerplate example that works with the v3 node structure. Most of the examples I find online appear to target API v2, and I am encountering compilation errors regarding namespace changes (e.g., XLinkOut location and Camera node output members).
My Environment:
Hardware: OAK-D [Insert specific model, e.g., LR or SR] (RVC4)
Library: depthai-core (API v3 branch)
OS: Ubuntu [Your Version, e.g., 22.04]
Compiler: GCC/G++
What I am looking for: A simple C++ snippet that:
Initializes the Camera and NeuralNetwork nodes using the v3 syntax.
Links them to XLinkOut so I can retrieve frames and NN data on the host.
Shows the correct way to access the getOutputQueue and retrieve ImgFrame and NNData in the v3 dai::Device workflow.
Specifically, I am confused about the new syntax for linking nodes—my compiler suggests cam->Output instead of cam->out, and XLinkOut seems to have moved to an internal namespace.
Could you provide a minimal "Hello World" for inference on RVC4 in C++?
Thanks!