Skip to main content

LBP-Haar Cascade Based Real-Time Pedestrian Protection System Using Raspberry Pi

  • Conference paper
  • First Online:
Book cover Recent Trends in Image Processing and Pattern Recognition (RTIP2R 2018)

Abstract

People detection has always posed a challenge in the image processing domain, and a lot of research has been going on to solve the problems posed due to the large number of variants present in detecting a human. In this paper, we introduce a system that integrates various components to perform pedestrian detection, safe distance calculation and a risk assessment for pedestrians, with a warning if the pedestrian is potentially in danger. The proposed system is for middle income cars, where a web camera is connected to a Raspberry Pi 3. The processor performs the calculations based on live webcam feed and gives an alert to the driver via an Android Application. This project uses a custom LBP Cascade classifier written in OpenCV, for pedestrian detection. A comparison of results between this custom classifier with the standard Haar classifier is shown here. This system is tested on an Indian dataset collected by us and on the Penn-Fudan Database for Pedestrian Detection and Segmentation dataset for comparing the results.

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 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight 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

References

  1. The Times of India. https://timesofindia.indiatimes.com/india/90-deaths-on-roads-due-to-rash-driving-ncrb/articleshow/61898677.cms. Accessed 4 Nov 2017

  2. Leibe, B., Seemann, E., Schiele, B.: Pedestrian detection in crowded scenes. In: 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (2005)

    Google Scholar 

  3. Wang, X., Han, T., Yan, S.: An HOG-LBP human detector with partial occlusion handling. In: 2009 IEEE 12th International Conference on Computer Vision (2009)

    Google Scholar 

  4. Satpathy, A., Jiang, X., Eng, H.: Human detection using discriminative and robust local binary pattern. In: 2013 IEEE International Conference on Acoustics, Speech and Signal Processing (2013)

    Google Scholar 

  5. Thiyagarajan, B., Mayur, A., Ravina, B., Akilesh, G.: LBP-Haar multi-feature pedestrian detection for auto-braking and steering control system. In: 2015 International Conference on Computational Intelligence and Communication Networks (2015)

    Google Scholar 

  6. Cao, X., Qiao, H., Keane, J.: A low-cost pedestrian-detection system with a single optical camera. In: IEEE Transactions on Intelligent Transportation Systems, vol. 9, no. 1 (2008)

    Google Scholar 

  7. Kim, S., Park, S., Lee, S., Park, S., Cho, K.: Design of high-performance pedestrian and vehicle detection circuit using Haar-like features. In: TENCON 2012 IEEE Region 10 Conference (2012)

    Google Scholar 

  8. Ojala, T., Pietikainen, M., Maenpaa, T.: Multiresolution gray-scale and rotation invariant texture classification with local binary patterns. IEEE Trans. Pattern Anal. Mach. Intell. 24(7), 971–987 (2002)

    Article  Google Scholar 

  9. Local Binary Patterns. http://bytefish.de/blog/local_binary_patterns. Accessed 25 Apr 2018

  10. Local Binary Patterns with Python and OpenCV. http://www.pyimagesearch.com/2015/12/07/local-binary-patterns-with-python-opencv. Accessed 25 Apr 2018

  11. Local Binary Patterns. http://www.scholarpedia.org/article/Local_Binary_Patterns. Accessed 10 Apr 2018

  12. Object detection using Haar-cascade Classifier. https://pdfs.semanticscholar.org/0f1e/866c3acb8a10f96b432e86f8a61be5eb6799.pdf. Accessed 25 Dec 2017

  13. BOOST THE WORLD: PEDESTRIAN DETECTION - Visionary. http://www.vision-ary.net/2015/03/boost-the-world-pedestrian/. Accessed 4 Jan 2018

  14. Vehicles in Mumbai increase by more than half in seven years - Times of India. https://timesofindia.indiatimes.com/city/mumbai/Vehicles-in-Mumbai-increase-by-more-than-half-in-seven-years/articleshow/33570794.cms. Accessed 8 Jan 2018

  15. Friction and Automobile Tires. http://hyperphysics.phy-astr.gsu.edu/hbase/Mechanics/frictire.html. Accessed 9 Mar 2018

  16. Stopping Distance Formula. http://www.softschools.com/formulas/physics/stopping_distance_formula/89/. Accessed 10 Mar 2018

  17. Stopping distance, reaction distance and braking distance. https://korkortonline.se/en/theory/reaction-braking-stopping/. Accessed 10 Mar 2018

  18. MQTT Version 3.1.1. http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html. Accessed 15 Jan 2018

  19. Pedestrian Detection Database. https://www.cis.upenn.edu/~jshi/ped_html/. Accessed 21 Jun 2018

  20. Precision, recall, sensitivity and specificity. https://uberpython.wordpress.com/2012/01/01/precision-recall-sensitivity-and-specificity/. Accessed 1 Apr 2018

  21. Kadir, K., Kamaruddin, M., Nasir, H., Safie, S., Bakti, Z.: A comparative study between LBP and Haar-like features for face detection using OpenCV. In: 2014 4th International Conference on Engineering Technology and Technopreneuship (2014)

    Google Scholar 

Download references

Acknowledgment

We would like to thank Mr. Alessandro Ferrari and his team at ARGO Vision for sharing his LBP classifier with us for the purpose of this project. We would also like to thank them for making their resources available for students and professionals. Using this file has been crucial to our system’s successful implementation.

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Mitali Mehta or Rohan Gupta .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Mehta, M., Gupta, R. (2019). LBP-Haar Cascade Based Real-Time Pedestrian Protection System Using Raspberry Pi. In: Santosh, K., Hegadi, R. (eds) Recent Trends in Image Processing and Pattern Recognition. RTIP2R 2018. Communications in Computer and Information Science, vol 1035. Springer, Singapore. https://doi.org/10.1007/978-981-13-9181-1_6

Download citation

  • DOI: https://doi.org/10.1007/978-981-13-9181-1_6

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-13-9180-4

  • Online ISBN: 978-981-13-9181-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics