You could create an IP Webcam that could be used with a program like Frigate (I think that's what it called).
You could create an IP Webcam that could be used with a program like Frigate (I think that's what it called).