Skip to main content

Image Transformation Approaches for Occupancy Detection: A Comprehensive Analysis

  • Conference paper
  • First Online:
Innovations in Smart Cities Applications Volume 7 (SCA 2023)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 938))

  • 103 Accesses

Abstract

Using occupancy information in building management can help save energy and maintain user comfort, which is particularly important as energy becomes scarce and people rely more on appliances. While camera-based occupancy detection is widely adopted due to its efficacy, it also brings to the forefront a range of privacy-related issues that merit consideration. Therefore, this study proposes a method that uses environmental data to identify occupancy patterns. The technique converts time-series data into images to improve feature extraction and enhance the accuracy of occupancy detection. Three image transformation techniques are compared in the study, and the grayscale approach achieved the highest accuracy of 98.09%. In contrast, the Gramian Angular Summation Fields (GASF) along with the Gramian Angular Difference Fields (GADF) approaches had lower but still reasonable accuracy levels of 97.38% and 97.64%, respectively. The required training time for all three techniques was similar. These results suggest that the proposed grayscale approach is a suitable and efficient method for transforming images and detecting binary occupancy data.

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 149.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 199.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. Sayed, A.N., Himeur, Y., Bensaali, F.: Deep and transfer learning for building occupancy detection: a review and comparative analysis. Eng. Appl. Artif. Intell. 115, 105254 (2022)

    Article  Google Scholar 

  2. Abade, B., Perez Abreu, D., Curado, M.: A non-intrusive approach for indoor occupancy detection in smart environments. Sensors 18(11), 3953 (2018)

    Article  Google Scholar 

  3. Sayed, A.N., Hamila, R., Himeur, Y., Bensaali, F.: Employing information theoretic metrics with data-driven occupancy detection approaches: a comparative analysis. In: 2022 5th International Conference on Signal Processing and Information Security (ICSPIS), pp. 50–54. IEEE (2022)

    Google Scholar 

  4. Wang, Z., Oates, T.: Imaging time-series to improve classification and imputation. In: Twenty-Fourth International Joint Conference on Artificial Intelligence (2015)

    Google Scholar 

  5. Wang, Z., Oates, T.: Spatially encoding temporal correlations to classify temporal data using convolutional neural networks. arXiv preprint arXiv:1509.07481

  6. Chen, W., Shi, K.: A deep learning framework for time series classification using relative position matrix and convolutional neural network. Neurocomputing 359, 384–394 (2019)

    Article  Google Scholar 

  7. Yang, C.-L., Chen, Z.-X., Yang, C.-Y.: Sensor classification using convolutional neural network by encoding multivariate time series as two-dimensional colored images. Sensors 20(1), 168 (2019)

    Article  Google Scholar 

  8. Barra, S., Carta, S.M., Corriga, A., Podda, A.S., Recupero, D.R.: Deep learning and time series-to-image encoding for financial forecasting. IEEE/CAA J. Automatica Sinica 7(3), 683–692 (2020)

    Article  Google Scholar 

  9. Sayed, A.N., Himeur, Y., Bensaali, F.: From time-series to 2D images for building occupancy prediction using deep transfer learning. Eng. Appl. Artif. Intell. 119, 105786 (2023)

    Article  Google Scholar 

Download references

Acknowledgement

This paper was made possible by the Graduate Assistantship (GA) program provided by Qatar University (QU). This paper was also made possible by National Priorities Research Program (NPRP) grant No. 14S-0401-210122 from the Qatar National Research Fund (a member of Qatar Foundation). The statements made herein are solely the responsibility of the authors.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Aya N. Sayed .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 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

Sayed, A.N., Bensaali, F., Himeur, Y., Houchati, M. (2024). Image Transformation Approaches for Occupancy Detection: A Comprehensive Analysis. In: Ben Ahmed, M., Boudhir, A.A., El Meouche, R., Karaș, İ.R. (eds) Innovations in Smart Cities Applications Volume 7. SCA 2023. Lecture Notes in Networks and Systems, vol 938. Springer, Cham. https://doi.org/10.1007/978-3-031-54376-0_27

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-54376-0_27

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-54375-3

  • Online ISBN: 978-3-031-54376-0

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics