{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,2]],"date-time":"2026-07-02T16:44:15Z","timestamp":1783010655451,"version":"3.54.6"},"reference-count":37,"publisher":"MDPI AG","issue":"20","license":[{"start":{"date-parts":[[2022,10,18]],"date-time":"2022-10-18T00:00:00Z","timestamp":1666051200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Operational Programme Integrated Infrastructure","award":["313011ASK8"],"award-info":[{"award-number":["313011ASK8"]}]},{"name":"Operational Programme Integrated Infrastructure","award":["PP-COVID-20-0100"],"award-info":[{"award-number":["PP-COVID-20-0100"]}]},{"name":"European Regional Development Fund","award":["313011ASK8"],"award-info":[{"award-number":["313011ASK8"]}]},{"name":"European Regional Development Fund","award":["PP-COVID-20-0100"],"award-info":[{"award-number":["PP-COVID-20-0100"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>This paper presents an improved IoT-based system designed to help teachers handle lessons in the classroom in line with COVID-19 restrictions. The system counts the number of people in the classroom as well as their distribution within the classroom. The proposed IoT system consists of three parts: a Gate node, IoT nodes, and server. The Gate node, installed at the door, can provide information about the number of persons entering or leaving the room using door crossing detection. The Arduino-based module NodeMCU was used as an IoT node and sets of ultrasonic distance sensors were used to obtain information about seat occupancy. The system server runs locally on a Raspberry Pi and the teacher can connect to it using a web application from the computer in the classroom or a smartphone. The teacher is able to set up and change the settings of the system through its GUI. A simple algorithm was designed to check the distance between occupied seats and evaluate the accordance with imposed restrictions. This system can provide high privacy, unlike camera-based systems.<\/jats:p>","DOI":"10.3390\/s22207912","type":"journal-article","created":{"date-parts":[[2022,10,19]],"date-time":"2022-10-19T00:58:51Z","timestamp":1666141131000},"page":"7912","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":5,"title":["An Improved IoT-Based System for Detecting the Number of People and Their Distribution in a Classroom"],"prefix":"10.3390","volume":"22","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-0499-0625","authenticated-orcid":false,"given":"Slavomir","family":"Matuska","sequence":"first","affiliation":[{"name":"Faculty of Electrical Engineering and Information Technology, University of Zilina, 010 26 Zilina, Slovakia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7544-8796","authenticated-orcid":false,"given":"Juraj","family":"Machaj","sequence":"additional","affiliation":[{"name":"Faculty of Electrical Engineering and Information Technology, University of Zilina, 010 26 Zilina, Slovakia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7543-5664","authenticated-orcid":false,"given":"Robert","family":"Hudec","sequence":"additional","affiliation":[{"name":"Faculty of Electrical Engineering and Information Technology, University of Zilina, 010 26 Zilina, Slovakia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4875-973X","authenticated-orcid":false,"given":"Patrik","family":"Kamencay","sequence":"additional","affiliation":[{"name":"Faculty of Electrical Engineering and Information Technology, University of Zilina, 010 26 Zilina, Slovakia"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2022,10,18]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Myint, E.P., and Sein, M.M. (2021, January 9\u201311). People Detecting and Counting System. Proceedings of the 2021 IEEE 3rd Global Conference on Life Sciences and Technologies (LifeTech), Nara, Japan.","DOI":"10.1109\/LifeTech52111.2021.9391951"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Rantelobo, K., Indraswara, M.A., Sastra, N.P., Wiharta, D.M., Lami, H.F.J., and Kotta, H.Z. (2018, January 25\u201327). Monitoring Systems for Counting People using Raspberry Pi 3. Proceedings of the 2018 International Conference on Smart Green Technology in Electrical and Information Systems (ICSGTEIS), Bali, Indonesia.","DOI":"10.1109\/ICSGTEIS.2018.8709141"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Saxena, S., and Songara, D. (2017, January 10\u201312). Design of people counting system using MATLAB. Proceedings of the 2017 Tenth International Conference on Contemporary Computing (IC3), Noida, India.","DOI":"10.1109\/IC3.2017.8284344"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Le, M.C., Le, M.H., and Duong, M.T. (2020, January 27\u201328). Vision-based People Counting for Attendance Monitoring System. Proceedings of the 2020 5th International Conference on Green Technology and Sustainable Development (GTSD), Ho Chi Minh City, Vietnam.","DOI":"10.1109\/GTSD50082.2020.9303117"},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Hou, Y.C., Baharuddin, M.Z., Yussof, S., and Dzulkifly, S. (2020, January 24\u201326). Social Distancing Detection with Deep Learning Model. Proceedings of the 2020 8th International Conference on Information Technology and Multimedia (ICIMU), Selangor, Malaysia.","DOI":"10.1109\/ICIMU49871.2020.9243478"},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Sharma, M. (2020, January 18\u201319). Open-CV Social Distancing Intelligent System. Proceedings of the 2020 2nd International Conference on Advances in Computing, Communication Control and Networking (ICACCCN), Greater Noida, India.","DOI":"10.1109\/ICACCCN51052.2020.9362920"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Al-Sa\u2019d, M., Kiranyaz, S., Ahmad, I., Sundell, C., Vakkuri, M., and Gabbouj, M. (2022). A Social Distance Estimation and Crowd Monitoring System for Surveillance Cameras. Sensors, 22.","DOI":"10.3390\/s22020418"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Rezaei, M., and Azarmi, M. (2020). DeepSOCIAL: Social Distancing Monitoring and Infection Risk Assessment in COVID-19 Pandemic. Appl. Sci., 10.","DOI":"10.21203\/rs.3.rs-68650\/v1"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"126876","DOI":"10.1109\/ACCESS.2020.3008370","article-title":"The Visual Social Distancing Problem","volume":"8","author":"Cristani","year":"2020","journal-title":"IEEE Access"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Yang, D., Yurtsever, E., Renganathan, V., Redmill, K.A., and \u00d6zg\u00fcner, U. (2021). A Vision-Based Social Distancing and Critical Density Detection System for COVID-19. Sensors, 21.","DOI":"10.3390\/s21134608"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Hassan, N.I., Tahir, N.M., Zaman, F.H.K., and Hashim, H. (2020, January 21\u201322). People Detection System Using YOLOv3 Algorithm. Proceedings of the 2020 10th IEEE International Conference on Control System, Computing and Engineering (ICCSCE), Penang, Malaysia.","DOI":"10.1109\/ICCSCE50387.2020.9204925"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Gupta, P., Sharma, V., and Varma, S. (2021). People detection and counting using YOLOv3 and SSD models. Mater. Today Proc., in press.","DOI":"10.1016\/j.matpr.2020.11.562"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Martinez, M., Yang, K., Constantinescu, A., and Stiefelhagen, R. (2020). Helping the Blind to Get through COVID-19: Social Distancing Assistant Using Real-Time Semantic Segmentation on RGB-D Video. Sensors, 20.","DOI":"10.3390\/s20185202"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Rusli, M.E., Yussof, S., Ali, M., and Abobakr Hassan, A.A. (2020, January 24\u201326). MySD: A Smart Social Distancing Monitoring System. Proceedings of the 2020 8th International Conference on Information Technology and Multimedia (ICIMU), Selangor, Malaysia.","DOI":"10.1109\/ICIMU49871.2020.9243569"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"5717","DOI":"10.1109\/JSEN.2017.2723766","article-title":"People Counting Based on an IR-UWB Radar Sensor","volume":"17","author":"Choi","year":"2017","journal-title":"IEEE Sens. J."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Groba, C. (2019, January 15\u201318). Demonstrations and people-counting based on Wifi probe requests. Proceedings of the 2019 IEEE 5th World Forum on Internet of Things (WF-IoT), Limerick, Ireland.","DOI":"10.1109\/WF-IoT.2019.8767208"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"176935","DOI":"10.1109\/ACCESS.2019.2956748","article-title":"Blockchain Applications for Industry 4.0 and Industrial IoT: A Review","volume":"7","author":"Alladi","year":"2019","journal-title":"IEEE Access"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"101043","DOI":"10.1016\/j.aei.2020.101043","article-title":"IoT-enabled smart appliances under industry 4.0: A case study","volume":"43","author":"Aheleroff","year":"2020","journal-title":"Adv. Eng. Inform."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"107096","DOI":"10.1016\/j.compag.2022.107096","article-title":"Viable smart sensors and their application in data driven agriculture","volume":"198","author":"Paul","year":"2022","journal-title":"Comput. Electron. Agric."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Marcu, I., Suciu, G., B\u0103l\u0103ceanu, C., Vulpe, A., and Dr\u0103gulinescu, A.M. (2020). Arrowhead Technology for Digitalization and Automation Solution: Smart Cities and Smart Agriculture. Sensors, 20.","DOI":"10.3390\/s20051464"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Cvar, N., Trilar, J., Kos, A., Volk, M., and Duh, E.S. (2020). The Use of IoT Technology in Smart Cities and Smart Villages: Similarities, Differences, and Future Prospects. Sensors, 20.","DOI":"10.3390\/s20143897"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"429","DOI":"10.3390\/smartcities4020024","article-title":"IoT in Smart Cities: A Survey of Technologies, Practices and Challenges","volume":"4","author":"Syed","year":"2021","journal-title":"Smart Cities"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"6205","DOI":"10.1109\/JIOT.2020.3041386","article-title":"An Architecture for IoT-Enabled Smart Transportation Security System: A Geospatial Approach","volume":"8","author":"Zhang","year":"2021","journal-title":"IEEE Internet Things J."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"4250","DOI":"10.1109\/JIOT.2020.3034385","article-title":"Applications of the Internet of Things (IoT) in Smart Logistics: A Comprehensive Survey","volume":"8","author":"Song","year":"2021","journal-title":"IEEE Internet Things J."},{"key":"ref_25","first-page":"466","article-title":"A Secure IoT Enabled Smart Home System","volume":"14","author":"Srinivasan","year":"2022","journal-title":"Int. J. Early Child. Spec. Educ."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"14053","DOI":"10.1007\/s11227-021-03825-1","article-title":"Smart home security: Challenges, issues and solutions at different IoT layers","volume":"77","author":"Touqeer","year":"2021","journal-title":"J. Supercomput."},{"key":"ref_27","first-page":"603","article-title":"Fog Data Analytics: Diabetic Patients Monitoring Using Wearable IoT Sensors","volume":"22","author":"Baig","year":"2022","journal-title":"Int. J. Comput. Sci. Netw. Secur."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"69200","DOI":"10.1109\/ACCESS.2020.2986329","article-title":"Wearables and the Internet of Things (IoT), Applications, Opportunities, and Challenges: A Survey","volume":"8","author":"Dian","year":"2020","journal-title":"IEEE Access"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"49929","DOI":"10.1109\/ACCESS.2021.3068276","article-title":"IoT Platform for COVID-19 Prevention and Control: A Survey","volume":"9","author":"Dong","year":"2021","journal-title":"IEEE Access"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"159402","DOI":"10.1109\/ACCESS.2020.3020513","article-title":"Anonymity Preserving IoT-Based COVID-19 and Other Infectious Disease Contact Tracing Model","volume":"8","author":"Garg","year":"2020","journal-title":"IEEE Access"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Tovarek, J., Partila, P., Jakovlev, S., Voznak, M., Eglynas, T., and Jusis, M. (2021, January 23\u201324). A new approach for early detection of biological self-ignition in shipping container based on IoT technology for the smart logistics domain. Proceedings of the 2021 29th Telecommunications Forum (TELFOR), Belgrade, Serbia.","DOI":"10.1109\/TELFOR52709.2021.9653269"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Umair, M., Cheema, M.A., Cheema, O., Li, H., and Lu, H. (2021). Impact of COVID-19 on IoT Adoption in Healthcare, Smart Homes, Smart Buildings, Smart Cities, Transportation and Industrial IoT. Sensors, 21.","DOI":"10.3390\/s21113838"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Bian, S., Zhou, B., and Lukowicz, P. (2020). Social Distance Monitor with a Wearable Magnetic Field Proximity Sensor. Sensors, 20.","DOI":"10.3390\/s20185101"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Perra, C., Kumar, A., Losito, M., Pirino, P., Moradpour, M., and Gatto, G. (2021). Monitoring Indoor People Presence in Buildings Using Low-Cost Infrared Sensor Array in Doorways. Sensors, 21.","DOI":"10.3390\/s21124062"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"115403","DOI":"10.1109\/ACCESS.2021.3105390","article-title":"Seat-Occupancy Detection System and Breathing Rate Monitoring Based on a Low-Cost mm-Wave Radar at 60 GHz","volume":"9","author":"Lazaro","year":"2021","journal-title":"IEEE Access"},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Zhang, C., and Long, L. (2021, January 28\u201330). Design of Intelligent Management System for Study Room. Proceedings of the 2021 2nd International Conference on Artificial Intelligence and Information Systems, Chongqing, China.","DOI":"10.1145\/3469213.3470666"},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Matuska, S., Hudec, R., and Kamencay, P. (2022, January 23\u201326). IoT Based System for Detecting the Number of People and their Distribution in Classroom. Proceedings of the 2022 ELEKTRO (ELEKTRO), Krakow, Poland.","DOI":"10.1109\/ELEKTRO53996.2022.9803353"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/20\/7912\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T00:56:10Z","timestamp":1760144170000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/20\/7912"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,10,18]]},"references-count":37,"journal-issue":{"issue":"20","published-online":{"date-parts":[[2022,10]]}},"alternative-id":["s22207912"],"URL":"https:\/\/doi.org\/10.3390\/s22207912","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,10,18]]}}}