2 separate networks with one internet connection

Yes, it's the gateway for both networks. But for the cam network only the NVR needs internet access (the gateway on NVR is set to 192.168.2.1)
The hp poe switch is layer3

Do this. Plug your PC into the 192.168.2.0 network, change your NIC settings to 192.168.2.X(something not in use), also add the gateway of 192.168.2.1, then ping the gateway. Do this from both subnets, then tell us your results.