when a person does not follow the COVID 19 safety
protocols in a workplace, business establishments etc.
In this work, we have trained a model for face mask
detection using TensorFlow and Keras and used
YOLO Object detection for detecting social
distancing. The proposed CNN architecture
comprises two convolutional layers followed by relu
activation function and a max pooling layer.
YOLOv3 was used to detect people in a frame and
find the Euclidean distance between them. With the
help of OpenCV we were able to capture the video
feed from different sources like webcam, video file or
an IP camera. An android app was developed which
will get notified every time a violation is detected,
and the detected images can also be viewed through
the app. This was achieved with the help of Firebase
service. As a future study, we can work on finding a
pattern to detect or predict the time at which it gets
crowded the most and the heat map can be plotted in
a more accurate manner.
REFERENCES
Soni, A., & Singh, A. P., 2020. Automatic Motorcyclist
Helmet Rule Violation Detection using Tensorflow &
Keras in OpenCV. In 2020 IEEE International Students
Conference on Electrical, Electronics and Computer
Science (SCEECS).
Chen, S., Wei, Y., Xu, Z., Sun, P., & Wen, C., 2020. Design
and Implementation of Second-generation ID Card
Number Identification Model based on TensorFlow. In
IEEE International Conference on Information
Technology, Big Data and Artificial Intelligence
(ICIBA).
Caveness, E., C., P. S., Peng, Z., Polyzotis, N., Roy, S., &
Zinkevich, M., 2020. TensorFlow Data Validation:
Data Analysis and Validation in Continuous ML
Pipelines. In Proceedings of the 2020 ACM SIGMOD
International Conference on Management of Data.
Lu, Y., Zhang, L., & Xie, W., 2020. YOLO-compact: An
Efficient YOLO Network for Single Category Real-
time Object Detection. In 2020 Chinese Control and
Decision Conference (CCDC).
Ullah, M. B., 2020. CPU Based YOLO: A Real Time
Object Detection Algorithm. In 2020 IEEE Region 10
Symposium (TENSYMP).
Raj, A., Maji, K., & Shetty, S. D., 2021. Ethereum for
Internet of Things security. In Multimedia Tools and
Applications.
Redmon, J., Divvala, S., Girshick, R., & Farhadi, A., 2016.
You Only Look Once: Unified, Real-Time Object
Detection. In 2016 IEEE Conference on Computer
Vision and Pattern Recognition (CVPR).
Natraj, L., & Shetty, S. D., 2019. A Translation System
That Converts English Text to American Sign
Language Enhanced with Deep Learning Modules. In
International Journal of Innovative Technology and
Exploring Engineering Regular Issue, 8(12), 5378-
5383.
Khawas, C., & Shah, P., 2018. Application of Firebase in
Android App Development-A Study. In International
Journal of Computer Applications, 179(46), 49-53.
Fatima, N. S., Steffy, D., Stella, D., & Devi, S. N., 2020.
Enhanced Performance of Android Application Using
RecyclerView. In Advances in Intelligent Systems and
Computing Advanced Computing and Intelligent
Engineering, 189-199.
Nair, L. R., Shetty, S. D., & Shetty, S. D., 2018. Applying
spark based machine learning model on streaming big
data for health status prediction. In Computers &
Electrical Engineering, 65, 393-399.
Duran-Lopez, L., Dominguez-Morales, J., Amaya-
Rodriguez, I., Luna-Perejon, F., Civit-Masot, J.,
Vicente-Diaz, S., & Linares-Barranco, A., 2019. Breast
Cancer Automatic Diagnosis System using Faster
Regional Convolutional Neural Networks. In
Proceedings of the 11th International Joint Conference
on Computational Intelligence.
Sung, M., Yu, S., & Girdhar, Y., 2017. Vision based real-
time fish detection using convolutional neural network.
In OCEANS 2017 - Aberdeen.
Hansen, D. K., Nasrollahi, K., Rasmusen, C. B., &
Moeslund, T. B. (2017). Real-Time Barcode Detection
and Classification using Deep Learning. In Proceedings
of the 9th International Joint Conference on
Computational Intelligence.
Goodfellow, I., Bengio, Y., & Courville, A., 2016. Deep
learning, Cambridge (EE. UU.). MIT Press.
Belciug, S., 2020. Artificial intelligence in cancer:
Diagnostic to tailored treatment, London, United
Kingdom. Academic Press.