When you want to turn your unused Raspberry Pi into a security camera, you can take a look at motionEyeOS.
So what is motionEyeOS? In short, motionEyeOS is a Linux distribution that turns your single board computer into a video surveillance system. Therefore, it is convenient to setup a Raspberry Pi security camera with motionEyeOS.
Given these points, let us look at how we can setup a Raspberry Pi security camera with motionEyeOS.