Starting point to use DepthAI-Core Oak-D Lite in Nap Frameworks (Windows)
You can read about it here.
Semantic Segmentation example:
Download Nap Framework version 0.5.0 and check installation from here.
Download Depthai-core and compile it.
- Copy the Semantic Segmentation Example folder into your
Nap_Install/projects/
folder. - Copy the DepthAi Core lib into your
Nap_Install/user_modules/
folder.
Set the 2 Cmake variables (OpenCV_DIR
and depthai_DIR
) inside the module_extra.cmake:
#for me
set(OpenCV_DIR "C:\\dev\\opencv\\opencv\\build")
set(depthai_DIR "C:\\Users\\pierr\\Documents\\DEV\\DEPTHAI_DEV\\build_2")
Make sure to regenerate your project example, then open it in your version of Visual Studio (I'm using VS2019).
Compile the depthaicoresemanticsegexample solution.
Once compilation is finished, open the project.json in Napkin.
Once opened, find the NeuralNetwork Node and make sure that its path points to the correct blob(deeplabv3p_person_6_shaves.blob
), inside the user_modules/data/nn/
folder :
Save it, the run executable.