International Journal of Information Engineering and Electronic Business(IJIEEB)

ISSN: 2074-9023 (Print), ISSN: 2074-9031 (Online)

Published By: MECS Press

IJIEEB Vol.14, No.1, Feb. 2022

Face Recognition Using Histogram of Oriented Gradients with TensorFlow in Surveillance Camera on Raspberry Pi

Full Text (PDF, 650KB), PP.46-52

Views:0   Downloads:0


Reza Andrea, Nurul Ikhsan, Zulkarnain Sudirman

Index Terms

Face Recognition, Deep Learning, TensorFlow, Surveillance Camera, Raspberry Pi


The implementation of face recognition with TensorFlow deep learning uses the webcam as a surveillance camera on the Raspberry Pi, aiming to provide a sense of security to the requiring party. A frequent surveillance camera problem is that crimes are performed at certain hours, the absence of early warning features, and there is no application of facial recognition on surveillance cameras. The function of this system is to perform facial recognition on every face captured by the webcam. Use the Histogram of the Oriented Gradient (HOG) method for the extraction process of deep learning. The image that is input from the camera will undergo a gray scaling process, then it will be taken the extraction value and classified by deep learning framework with TensorFlow. The system will send notifications when faces are not recognized. Based on the analysis of the data is done, the conclusion that the implementation of face recognition is built on the Raspberry Pi using a Python programming language with the help of TensorFlow so that the training process of the sample is much faster and more accurate. It uses a Graphical User Interface (GUI) as the main display and is built using Python designer, using email as an initial warning delivery medium to the user as well as using the webcam as the main camera to capture image.

Cite This Paper

Reza Andrea, Nurul Ikhsan, Zulkarnain Sudirman, " Face Recognition Using Histogram of Oriented Gradients with TensorFlow in Surveillance Camera on Raspberry Pi", International Journal of Information Engineering and Electronic Business(IJIEEB), Vol.14, No.1, pp. 46-52, 2022. DOI: 10.5815/ijieeb.2022.01.05


[1]A. Roman-Urrestarazu, J. Yang, R. Robertson, A. McCallum, C. Gray, M. McKee and J. Middleton, "Brexit threatens the UK’s ability to tackle illicit drugs and organised crime: What needs to happen now?," Health Policy, vol. 123, no. 6, pp. 521-525, 2019. 

[2]D. Lim and V. Ferguson, "Conscious Decoupling: The Technology Security Dilemma," 2020. 

[3]K. Seungshik, IOT IOT equipment certification system utilizing security technology, 2019. 

[4]C. Chen, R. Surette and M. Shah, "Automated monitoring for security camera networks: promise from computer vision labs," Security Journal, pp. 1-21, 2020. 


[6]Z. Tiantian, M. Xianglong and L. Gen, Intelligent electronic security door, 2019. 

[7]W. Yongli, Method for navigating store in shopping mall, computer device, and readable storage medium, 2019. 

[8]F. Dexter, J. Ledolter, R. H. Epstein and R. W. Loftus, "Importance of operating room case scheduling on analyses of observed reductions in surgical site infections from the purchase and installation of capital equipment in operating rooms.," American Journal of Infection Control, vol. 48, no. 5, pp. 566-572, 2020. 

[9]S. Gómez, D. Mejía and S. Tobón, "The Deterrent Effect of Surveillance Cameras on Crime," Journal of Policy Analysis and Management, 2021. 

[10]D. V. G. S. Rao and V. Rajeswaramma, "Installation of Surveillance Cameras at Airport Terminals," , 2017. 

[11]S. Tobón, S. Gómez and D. Mejía, "The Deterrent Effect of Surveillance Cameras on Crime," Documentos de Trabajo CIEF, 2020. 

[12]P. M. Hee, Surveillance camera assembly and method for installing the same, 2019. 

[13]A. Zarrinmehr, M. Meshkani and S. Seyedabrishami, "Surveillance camera location problem for route-flow observation in urban transportation networks: bi-level formulation and solution algorithm," International Journal of Systems Science: Operations & Logistics, vol. 5, no. 4, pp. 327-338, 2018. 

[14]W. W. Z. Wilman and P. C. Yuen, "Very low resolution face recognition problem," in 2010 Fourth IEEE International Conference on Biometrics: Theory, Applications and Systems (BTAS), 2010. 

[15]L. Shengli, P. Wei, Z. Shihao, X. Jiaqi, F. Xuemei and P. Wenwen, Feature Multiplexing-Based Face Recognition Method, 2020. 

[16]R. Min, S. Xu and Z. Cui, "Single-Sample Face Recognition Based on Feature Expansion," IEEE Access, vol. 7, pp. 45219-45229, 2019. 

[17]S. Gong, Y. Shi, N. D. Kalka and A. K. Jain, "Video Face Recognition: Component-wise Feature Aggregation Network (C-FAN)," in 2019 International Conference on Biometrics (ICB), 2019. 

[18]C. Zongjie and X. Shengping, Single-sample face recognition method based on feature expansion, 2019. 

[19]R. Ranjan, V. M. Patel and R. Chellappa, "HyperFace: A Deep Multi-Task Learning Framework for Face Detection, Landmark Localization, Pose Estimation, and Gender Recognition," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 41, no. 1, pp. 121-135, 2019. 

[20]S. Li and W. Deng, "Deep Facial Expression Recognition: A Survey," IEEE Transactions on Affective Computing, no. 1, pp. 1-1, 2020. 

[21]M. Wang and W. Deng, "Deep face recognition: A survey," Neurocomputing, vol. 429, pp. 215-244, 2021. 

[22]A. Ahmad and T. Perla, "Raspberry pi Home Appliances Controlling by IoT Technology," International Journal of Research, vol. 4, no. 17, pp. 1626-1629, 2017. 

[23]E. Upton and G. Halfacree, Raspberry Pi User Guide, 2012. 

[24]G. Hart-Davis, "Brief Tutorial on Raspberry Pi Essentials," , pp. 71-136, 2017. 

[25]L. Jiangeng, Z. Yan, Z. Guoyu, L. Lijie and W. Pengfei, HOG (Histogram of Oriented Gradient) and Mean Shift algorithm-based indoor pedestrian detection and tracking method, 2017. 

[26]Z. Baohua, L. Teng, H. Yifu, Z. Yanfeng, H. Haipeng, G. Zixiang and G. Peiyu, Face recognition algorithm based on fused HOG (Histogram of Oriented Gradient) features and deep belief network, 2018. 

[27]C. I. Patel, D. Labana, S. Pandya, K. Modi, H. Ghayvat and M. Awais, "Histogram of Oriented Gradient-Based Fusion of Features for Human Action Recognition in Action Video Sequences.," Sensors, vol. 20, no. 24, p. 7299, 2020. 

[28]S. K. Manikonda and D. N. Gaonkar, "Islanding detection method based on image classification technique using histogram of oriented gradient features," Iet Generation Transmission & Distribution, vol. 14, no. 14, pp. 2790-2799, 2020. 

[29]A. K. Hmood, C. Y. Suen and L. Lam, "An Enhanced Histogram of Oriented Gradient Descriptor for Numismatic Applications," Pattern Recognition and Image Analysis, vol. 28, no. 4, pp. 569-587, 2018.