Hello hussain_allawati ,
awesome that you are working on your Bachelors project with our cameras! And please share it afterwards if that is possible (opensource)
1) Everything that's a part of the depthai pipeline
will get executed on the device. So looking at this example, everything until code line 77 gets executed on the device, and everything after gets executed on the CPU (visualization only in this case).
2) Yes, you can run as many NNs as you want - parallel or serial. See demo here, which has 4 NNs running. On the how
, you just add multiple nodes and connect them as you see fit.
Hopefully this helps!
Thanks, Erik