Need some advice

I have been fighting with this for many days now . Set up: Pi 5 with Ai hat, everything is installed correctly for headless operation. i have an IP camera 10.1.1.39 in a POE switch ETH0 on the pi static 10.1.1.5 ( No internet ) and Wlan0 wifi for internet and updates. i cant get thigns running smoothly or tracking would it be better to export the 24 hour video file from the IP camers NVR and just use the pi to count the cars / trucks / busses / after the fact or is using an IP camera to do this possible?

Is the camera stream accessible using RTSP?

yes overlay was working lines were showing

What’s the issue with running inference with the stream?