To be run on macos
brew install opencv
g++ $(pkg-config --cflags --libs opencv4) -std=c++11 main.cpp $(pwd)/lib/osx/x64/libndi.4.dylib
./a.out
Then go to File>YOUR_COMPUTER>NDI-Test
You should receive the NDI stream on the NewTek NDI Video Monitor app