In order to further maintain peace and provide security to people now a day, Closed-circuit television (CCTV) surveillance system is being utilized. This study focused on the design and implementation of a low cost smart security camera with night vision capability using Raspberry Pi (RPI) and OpenCV. The system was designed to be used inside a warehouse facility. It has human detection and smoke detection capability that can provide precaution to potential crimes and potential fire. The credit card size Raspberry Pi (RPI) with Open Source Computer Vision (OpenCV) software handles the image processing, control algorithms for the alarms and sends captured pictures to user's email via Wi-Fi. As part of its alarm system, it will play the recorded sounds: “intruder” or “smoke detected” when there is a detection. The system uses ordinary webcam but its IR filter was removed in order to have night vision capability.