I. Introduction
Presently, even though devices can communicate to different machines by the power of IoT, they still don't natively have the ability to detect an object from the images captures by a camera (CCTV in case of Smart City) that can have a vast number of applications. The proposed systemhas the capability to detect a gun from an image acquired from closed-circuit television by processing it using a trained neural network as the implementation of deep learning and generate an alert to notify of potential gun violence. The paper attempts to fill the gap in IoT enabled devices and Object Detection, allowing more room for new possibilities and applications [20]. The implementation of Smart City [17] will contain three major components. First, one is the Smart Home that includes automated lighting that is configured in conjunction with light sensors (LDR, that is, light dependent resistor)and can also be controlled via a mobile application. Aside from lighting, the smart home monitors humidity and temperature and automatically switches on an air conditioner to regulate and maintain the preferred temperature conditions as per the user's needs.