Skip to main content

Histogram of Oriented Gradients (HOG) and Haar Cascade with Convolutional Neural Network (CNN) Performance Comparison in the Application of Edge Home Security System

  • Conference paper
  • First Online:
Innovative Technologies in Intelligent Systems and Industrial Applications (CITISIA 2022)

Abstract

In recent years, security has played a significant role in our daily lives. House security has become more popular with the enhancement of the Internet of Things (IoT) in intelligent home automation. This paper aims to build a system that can detect faces and the presence of unknown people using computer vision methods combined with the Internet of things. Two algorithms, Histogram of Oriented Gradients (HOG) and Haar Cascade classifiers with the enhancement of Convolutional Neural Network (CNN), were used to compare their performance. The system utilizes Nvidia Jetson Nano as an edge device, HD camera, Light Emitting Diode (LED), and sound buzzer as peripheral hardware. Telegram messenger application was used to notify the homeowner when uninvited guests passed through the pre-defined security area. In the result, the HOG method has 100% accuracy compared to 75% Haar Cascade with 720p video quality in the proposed developed system.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 249.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Li S, da Xu L, Zhao S (2015) The internet of things: a survey. Inf Syst Front 17(2):243–259

    Article  Google Scholar 

  2. Risteska Stojkoska BL, Trivodaliev KV (2017) A review of Internet of Things for smart home: challenges and solutions. J Clean Prod 140:1454–1464

    Google Scholar 

  3. Zhang T, Chowdhery A, (Victor) Bahl P, Jamieson K, Banerjee S (2015) The design and implementation of a wireless video surveillance system. In: Proceedings of the 21st annual international conference on mobile computing and networking, pp 426–438

    Google Scholar 

  4. Kortli Y, Jridi M, al Falou A, Atri M (2020) Face recognition systems.: a survey. Sensors 20(2)

    Google Scholar 

  5. DLIB framework. http://dlib.net/. Last accessed 25 Apr 2022

  6. Open source community repository. https://github.com/ageitgey/face_recognition. Last accessed 18 July 2022

  7. Cuimei L, Zhiliang Q, Nan J, Jianhua W (2017) Human face detection algorithm via Haar cascade classifier combined with three additional classifiers. In: 13th IEEE international conference on electronic measurement and instruments (ICEMI), pp 483–487

    Google Scholar 

  8. Viola P, Jones M (2001) Rapid object detection using a boosted cascade of simple features, vol 1. In: Proceedings of the 2001 IEEE computer society conference on computer vision and pattern recognition. CVPR, pp I–I

    Google Scholar 

  9. Mita T, Kaneko T, Hori O (2005) Joint Haar-like features for face detection, vol 2. In: Tenth IEEE international conference on computer vision (ICCV’05), pp 1619–1626

    Google Scholar 

  10. Kadir K, Kamaruddin MK, Nasir H, Safie SI, Bakti ZAK (2014) A comparative study between LBP and Haar-like features for face detection using OpenCV. In: 4th international conference on engineering technology and technopreneuship (ICE2T)

    Google Scholar 

  11. Kattenborn T, Leitloff J, Schiefer F, Hinz S (2021) Review on convolutional neural networks (CNN) in vegetation remote sensing. ISPRS J Photogram Remote Sens 173:24–49

    Google Scholar 

  12. Data science community and knowledge portal. https://www.analyticsvidhya.com/blog/2021/05/convolutional-neural-networks-cnn. Last accessed 11 Aug 2022

  13. Luo W, Xing J, Milan A, Zhang X, Liu W, Kim T-K (2021) Multiple object tracking: a literature review. Artif Intell 293:103448

    Google Scholar 

  14. Computer vision and deep learning web portal. https://pyimagesearch.com/2018/07/23/simple-object-tracking-with-opencv/. Last accessed 29 July 2022

  15. Aydin I, Othman NA (2017) A new IoT combined face detection of people by using computer vision for security application. In: International artificial intelligence and data processing symposium (IDAP), pp 1–6

    Google Scholar 

  16. Grm K, Štruc V, Artiges A, Caron M, Ekenel H (2017) Strengths and weaknesses of deep learning models for face recognition against image degradations. IET Biom 7

    Google Scholar 

  17. Boyko N, Basystiuk O, Shakhovska N (2018) Performance evaluation and comparison of software for face recognition, based on Dlib and Opencv library. In: IEEE second international conference on data stream mining and processing (DSMP), pp 478–482

    Google Scholar 

  18. Nvidia. https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-2gb-devkit. Last accessed 15 June 2022

  19. Putty headless setup. https://www.putty.org/. Last accessed 2 May 2022

  20. Lin T-Y et al (2014) Microsoft {COCO:} common objects in context, vol abs/1405.0. In: CoRR

    Google Scholar 

  21. Open source community repository. https://github.com/John777-loss/SecuritySys. Last accessed 5 Aug 2022

  22. Wikipedia, Christiano Ronaldo. https://en.wikipedia.org/wiki/Cristiano_Ronaldo. Last accessed 28 Jan 2023

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Muhammad Zacky Asy’ari .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Asy’ari, M.Z., Filbert, S., Sukra, Z.L. (2023). Histogram of Oriented Gradients (HOG) and Haar Cascade with Convolutional Neural Network (CNN) Performance Comparison in the Application of Edge Home Security System. In: Mukhopadhyay, S.C., Senanayake, S.N.A., Withana, P.C. (eds) Innovative Technologies in Intelligent Systems and Industrial Applications. CITISIA 2022. Lecture Notes in Electrical Engineering, vol 1029. Springer, Cham. https://doi.org/10.1007/978-3-031-29078-7_2

Download citation

Publish with us

Policies and ethics