Pi Camera Faulty Detection

Hello guys, I'm currently working on a project that implements Pi Camera and Raspberry Pi for object detection purpose. The setup will not include monitor, which means, after getting all the softwares, I/O, and other stuffs ready,I will remove the monitor. My raspberry pi will run for all day long, but if my camera is down, how do I detect it without using a monitor?