An effective video surveillance system is a challenging task in the COVID-19 pandemic. Building a model proper way of wearing a mask and maintaining the social distance minimum six feet or one or two meters by using CNN approach in the COVID-19 pandemic, the video surveillance system works with the help of TensorFlow, Keras, Pandas, which are libraries used in Python programming scripting language used in the concepts of deep learning technology. The proposed model improved the CNN approach in the area of deep learning and named as the Ram-Laxman algorithm. The proposed model proved to build the optimized approach, the convolutional layers grouped as ‘Ram', and fully connected layers grouped as ‘Laxman'. The proposed system results convey that the Ram-Laxman model is easy to implement in the CCTV footage.