Upcity: Addressing Urban Problems Through an Integrated System
Abstract
:1. Introduction
- The modeling of a cyber–physical system using IoT to address urban problems;
- An application for citizens to report urban problems;
- Dashboards to access indicators of problems and ongoing solutions to promote management evaluation;
- Applying these structures in a practical case of detecting road potholes.
2. Literature Review
2.1. Framework for Addressing Problems in Smart Cities in an Integrated Manner
- Articles that assume a taxonomy of the dimensions involved in the integrated treatment of SC;
- Articles that create modeling on how a system could integrate the constituent elements of the SC;
- Articles that carried out some implementation that seeks integration.
2.2. Citizens’ Engagement
2.3. Techniques for Treatment and Identification of Potholes
3. Modeling UpCity: Urban Problem Treatment System
- Physical entity: in our case, the pothole (in beige).
- Devices: hardware composed of sensors and controllers (in blue).
- Resources: software components that provide supporting functionality running (1) on-device to capture image localization or (2) remotely as the urban problem database available via a network.
- Passive Digital Artifacts: a digital representation, where the physical pothole has a digital representation in the system corresponding to the images stored and the coordinates of the physical entity (in green).
- Active Digital Artifacts (ADA): running code, i.e., software applications, agents, or services. There are four ADAs in the diagram: (1) citizens app to identify the urban problem; (2) citizens app to follow up with the identified problem; (3) operator app to identify the urban problem via administrative interface; and (4) manager dashboard, including long-term analysis running remotely.
- Human User: three classes of humans interact with the system—the citizen using cellphone apps, the equipment operator, and the administrator using long-term analysis.
- The data of the physical objects brought into the cyber world;
- The authenticated users;
- The applications that must be controlled and maintained;
- The databases and the data lake.
- Unique identifier (ID);
- Geographic coordinates (latitude and longitude);
- Date and time of identification;
- Dimensions of the hole (width, length, and depth);
- Current status (repaired and not repaired);
- History of interventions;
- Attached photos and videos.
4. Building the System for the Use Case: Identifying Potholes
The Hardest Part of the Use Case: Identifying Potholes
- Some studies using YOLO for mobile and aerial images—our case—have practically a tie between the two. Sary et al. showed that the performance value of the YOLOv8 model is greater than the YOLOv5 model for precision at 2.82% and for F1-score at 0.98%, but for the recall performance value, YOLOv5 is greater than the YOLOv8 model with a difference of 0.54% [27]. A similar result was found in [28].
- The study by Peserico and Morato showed that if there were no GPU but CPU only—our case—YOLOv5 would take half the time for model inference of YOLOv8 [29].
- Due to its maturity time, YOLOv5 has a much higher number of already documented and widely available solutions than YOLOv8. The first stable version of YOLOv8 was released in 2023, indicating that it is in the early stages of community adoption.
- Step 1: Environment Preparation:We install the necessary tools on Ubuntu 22.04.4: YOLOv5 and CUDA for efficient image processing on an NVIDIA GeForce 3060 8GB video card configured with 3584 CUDA cores.
- Step 2: Dataset Preparation:YOLOv5 has pretrained models on a widely known dataset such as COCO (Common Objects in Context) that can identify 80 ordinary object classes, but the class “hole” is not included. Therefore, we have to train the model for this task. We obtain a database from Roboflow with 2395 images of potholes that has already been annotated and preprocessed. This dataset provides a robust and well-structured basis for training. Figure 4 illustrates photos of potholes taken with the cell phone inserted in YOLOv5.
- Step 3: Model Training:The training is performed in Python using the parameters shown in Table 4.YOLOv5 variants are designed to meet different needs for accuracy and computational performance. The variants with their characteristics range from YOLOv5n, with approximately 1.9 million parameters, ideal for devices with limited resources, such as microcontrollers and IoT devices, to YOLOv5s, YOLOv5m, and YOLOv5L, the largest model with 86.7 million parameters, used in applications that demand maximum accuracy and robust computational resources. Since we intend to use these models on mobile phones and drones, we choose the YOLOv5s version, suitable for embedded systems and mobile devices, and the YOLOv5m version, which provides greater accuracy while maintaining moderate computational requirements [30].
- Step 4: Model Evaluation:After training the model, we start to apply it in the tests. Table 5 shows the main results.There are two variables shown in the table regarding accuracy:
- –
- mAP05: a measure of the model’s accuracy considering only the “easy” detections without overlapping objects.
- –
- mAP05-095: a comprehensive view of the model’s performance across different levels of detection difficulty.
There are two variables shown in the table regarding errors:- –
- Train Obj Loss: Error in object detection during training.
- –
- Validation Obj Loss: Error in object detection during validation.
5. Results
- Total urban problems by type: potholes, vandalism, defective public lighting, cases of dengue fever, lost animals, etc.
- Interactive map: shows the geographic distribution of problems throughout the city.
- Count of recorded occurrences: shows the number of occurrences per month during the year.
- Request status: shows the proportions of pending, ongoing, and completed requests.
- Total number of requests: Total number of requests received.
- The requests status: Total requests organized by status (pending, in progress, and completed).
- A line graph showing the potholes reported over the months.
- Total requests by city region: A bar graph showing requests by region (North, East, etc.).
- Recidivism rate: A rate indicating how often resolved issues reappear.
- Citizen satisfaction: A measure of citizen satisfaction with resolutions.
6. Discussion
- Stakeholder CollaborationThe system’s efficiency requires the ability of authorities to respond promptly to the reported problems. A quick and effective response strengthens citizens’ trust in the platform and encourages continued use. An integrated problem-reporting system is only helpful if these problems are effectively resolved.We must have Smart City building processes where citizens are not mere participants but collaborators in developing and governing these spaces. These processes must be iterative and dynamic, with citizens’ decision-making possibilities. Experiences with Smart City projects that had these objectives show some progress but limited results, which indicates that there is still much to be done in this field [15].
- Protecting the identity of the citizenA classic challenge in the development of public systems is that, on one side, it would be desirable to identify the citizen and hold him responsible for identifying the problem, thus avoiding false users reporting false problems. On the other hand, preserving the citizen’s identity for privacy is desirable. Additionally, the surveillance system uses images that can expose sensitive user information. Privacy is a concern throughout the project.
- Protecting the system against cyber attacksThe success of the system requires considering security throughout the development life cycle. The development team must ensure the code is not vulnerable and the access is controlled, conduct penetration testing, and continuously monitor the environment to quickly detect and mitigate attack attempts.
- Challenges in identifying the problem
- Identifying problems involves sensors that may fail and trained systems that may issue false positives or negatives that compromise trust in the system. Additionally, other object detection models should be applied in real-world scenarios to compare with our experiments using YOLOv5. The constant adjustment of algorithms and rigorous testing in real scenarios must be carried out.
- In some cases, the problem should be identified at the edge, without the support of the cloud, and this can be very challenging from the point of view of computational load. Response performance must also be constantly reassessed to avoid overloading the edge or delays that compromise the response.
- The same proposed modeling could be applied to other urban problems, such as detecting poor street lighting or improper waste disposal. Both drones and citizens can detect these two problems. Another class of problems requires other sensing, such as noise pollution. In this type of problem, the citizen’s contribution is less relevant since they can report it but cannot prove its occurrence. To accommodate this new class of issues, the changes in the modeling and in the system itself would be minimal. However, more research should be dedicated to problems that are not immediately sensing sensitive, such as trees at risk of falling.
- Operational challengesDynamic environments bring challenges inherent to constant change. Some drone models, for example, cannot fly on rainy days. In this case, only reports from citizens are used. The application hosted on devices (cell phones or drones) may require new drives for different hosting environments. This type of operational issue also requires constant evaluation and maintenance.
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
ADA | Active Digital Artifacts |
IoT-A | European IoT-Architecture project |
KPI | Key Performance Indicator |
SC | Smart Cities |
UAV | Unmanned Aircraft Vehicle |
UML | Unified Modeling Language |
References
- Ayyoob, S.; Pourya, S. Resilient Smart Cities, 1st ed.; Springer: Cham, Switzerland, 2022; pp. 1–467. [Google Scholar] [CrossRef]
- Fadhel, M.A.; Duhaim, A.M.; Saihood, A.; Sewify, A.; Al-Hamadani, M.N.; Albahri, A.S.; Alzubaidi, L.; Gupta, A.; Mirjalili, S.; Gu, Y. Comprehensive systematic review of information fusion methods in smart cities and urban environments. Inf. Fusion 2024, 107, 102317. [Google Scholar] [CrossRef]
- IEEE Std 2413™-2019; IEEE Standard for an Architectural Framework for the Internet of Things (IoT). IEEE Computer Society: Washington, DC, USA, 2019.
- Barletta, V.S.; Caivano, D.; Dimauro, G.; Nannavecchia, A.; Scalera, M. Managing a Smart City Integrated Model through Smart Program Management. Appl. Sci. 2020, 10, 714. [Google Scholar] [CrossRef]
- Karn, A.L.; Pandya, S.; Mehbodniya, A. An integrated approach for sustainable development of wastewater treatment and management system using IoT in smart cities. Soft Comput 2023, 27, 5159–5175. [Google Scholar] [CrossRef]
- Wirtz, B.W.; Müller, W.M. An Integrative Collaborative Ecosystem for Smart Cities—A Framework for Organizational Governance. Int. J. Public Adm. 2023, 46, 499–518. [Google Scholar] [CrossRef]
- Samarakkody, A.; Amaratunga, D.; Haigh, R. Characterising Smartness to Make Smart Cities Resilient. Sustainability 2022, 14, 12716. [Google Scholar] [CrossRef]
- Neitorotti, P.; De Marco, A.; Cagliano, A.C.; Mangano, G.; Scorrano, F. Current trends in smart city initiatives: Some stylised facts. Cities 2014, 38, 25–36. [Google Scholar] [CrossRef]
- Attaran, H.; Kheibari, N.; Bahrepour, D. Toward integrated smart city: A new model for implementation and design challenges. GeoJournal 2022, 87 (Suppl. S4), 511–526. [Google Scholar] [CrossRef]
- Westraadt, L.; Calitz, A. A modelling framework for integrated smart city planning and management. Sustain. Cities Soc. 2020, 63, 102444. [Google Scholar] [CrossRef]
- Silva, B.N.; Khan, M.; Han, K. Towards sustainable smart cities: A review of trends, architectures, components, and open challenges in smart cities. Sustain. Cities Soc. 2018, 38, 697–713. [Google Scholar] [CrossRef]
- Blasi, S.; Gobbo, E.; Sedita, S.R. Smart cities and citizen engagement: Evidence from Twitter data analysis on Italian municipalities. J. Urban Manag. 2022, 11, 153–165. [Google Scholar] [CrossRef]
- Chantry, W. ‘Built from the internet up’: Assessing citizen participation in smart city planning through the case study of Quayside, Toronto. GeoJournal 2023, 88, 1619–1637. [Google Scholar] [CrossRef]
- Alamoudi, A.K.; Abidoye, R.B.; Lam, T.Y.M. The Impact of Citizens’ Participation Level on Smart Sustainable Cities Outcomes: Evidence from Saudi Arabia. Buildings 2023, 13, 343. [Google Scholar] [CrossRef]
- Leclercq, E.M.; Rijshouwer, E.A. Enabling citizens’ Right to the Smart City through the co-creation of digital platforms. Urban Transform 2022, 4, 2. [Google Scholar] [CrossRef]
- Wittmayer, J.; Schäpke, N. Action, research and participation: Roles of researchers in sustainability transitions. Sustain. Sci. 2014, 9, 483–496. [Google Scholar] [CrossRef]
- Mulder, I.; Kun, P. Hacking, making, and prototyping for social change. In The Hackable City; de Lange, M., de Waal, M., Eds.; Springer: Singapore, 2019. [Google Scholar] [CrossRef]
- Nguyen, M.T.; Truong, L.H.; Le, T.T. Video Surveillance Processing Algorithms utilizing Artificial Intelligent (AI) for Unmanned Autonomous Vehicles (UAVs). MethodsX 2021, 8, 101472. [Google Scholar] [CrossRef]
- Lee, D.; Kim, S.; Jeong, K.; Lee, H.; Bae, K. Real-time object detection framework based on deep learning in high-resolution video. Multimed. Tools Appl. 2022, 81, 36375–36396. [Google Scholar] [CrossRef]
- Samadzadegan, F.; Dadrass Javan, F.; Ashtari Mahini, F.; Gholamshahi, M.; Nex, F. Automatic Road Pavement Distress Recognition Using Deep Learning Networks from Unmanned Aerial Imagery. Drones 2024, 8, 244. [Google Scholar] [CrossRef]
- An, R.; Zhang, X.; Sun, M.; Wang, G. GC-YOLOv9: Innovative smart city traffic monitoring solution. Alex. Eng. J. 2024, 106, 277–287. [Google Scholar] [CrossRef]
- Srivastava, S.; Divekar, A.V.; Anilkumar, C.; Naik, I.; Kulkarni, V.; Pattabiraman, V. Comparative analysis of deep learning image detection algorithms. J. Big Data 2021, 8, 66. [Google Scholar] [CrossRef]
- Ullah, W.; Ullah, A.; Hussain, T.; Muhammad, K.; Heidari, A.A.; Del Ser, J.; Baik, S.W. Artificial Intelligence of Things-assisted two-stream neural network for anomaly detection in surveillance Big Video Data. Future Gener. Comput. Syst. 2022, 129, 286–297. [Google Scholar] [CrossRef]
- Kim, Y.-M.; Kim, Y.-G.; Son, S.-Y.; Lim, S.-Y.; Choi, B.-Y.; Choi, D.-H. Review of Recent Automated Pothole-Detection Methods. Appl. Sci. 2022, 12, 5320. [Google Scholar] [CrossRef]
- Bassi, A.; Bauer, M.; Fiedler, M.; Kramp, T.; Kranenburg, R.; Lange, S.; Meissner, S. Enabling Things to Talk; Springer Open: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
- ISO/IEC JTC 1/SC 7. ISO/IEC/IEEE 29148:2018—Systems and Software Engineering—Life Cycle Processes—Requirements Engineering, 2018. IEEE: New York, NY, USA. Available online: https://www.iso.org/standard/72089.html (accessed on 24 November 2024).
- Sary, I.; Andromeda, S.; Armin, E. Performance Comparison of YOLOv5 and YOLOv8 Architectures in Human Detection using Aerial Images. Ultim. Comput. J. Sist. Komput. 2023, 15, 8–13. [Google Scholar] [CrossRef]
- Selcuk, B.; Serif, T. A Comparison of YOLOv5 and YOLOv8 in the Context of Mobile UI Detection. In Mobile Web and Intelligent Information Systems; MobiWIS 2023. Lecture Notes in Computer Science; Younas, M., Awan, I., Grønli, T.M., Eds.; Springer: Cham, Switzerland, 2023. [Google Scholar] [CrossRef]
- Peserico, G.; Morato, A. Performance Evaluation of YOLOv5 and YOLOv8 Object Detection Algorithms on Resource-Constrained Embedded Hardware Platforms for Real-Time Applications. In Proceedings of the 2024 IEEE 29th International Conference on Emerging Technologies and Factory Automation (ETFA), Padova, Italy, 9–12 September 2024. [Google Scholar] [CrossRef]
- Hussain, M. YOLOv5, YOLOv8 and YOLOv10: The Go-To Detectors for Real-time Vision. arXiv 2024, arXiv:2407.02988. [Google Scholar]
Literature | Taxonomy | Modeling | Implementation |
---|---|---|---|
Wirtz et al. [6] | Six dimensions | Modeling with a high-level integration | – |
Samarakkody et al. [7] | Six dimensions and subdimensions | – | – |
Neitorotti et al. [8] | Six dimensions | – | – |
Attaran et al. [9] | Six dimensions and subdimensions | Modeling integrates domains horizontally | – |
Westraadt and Calitz [10] | – | Modeling within government dimension | Implementation of Crime Prediction |
Karn et al. [5] | – | – | Implementation of Wastewater Treatment |
Barletta et al. [4] | Eight dimensions | Modeling integrating dimensions with technologies | – |
Stakeholder | Role | Influence |
---|---|---|
User | identify urban problems and monitor their treatment. The feedback is essential | High |
Public Infrastructure Operator | Identify problems and promote repairs | High |
Public Infrastructure Manager | Define priorities for responding to open calls | High |
Builders | Construct and deploy the system from specifications | Medium |
Suppliers | Build and/or supply the hardware, software, or infrastructure on which the IoT system will run | Low |
Senior city administration | Monitor the treatment of problems in the city as a whole | Medium |
Component | Requirement | Description |
---|---|---|
Citizen App | Functional | Application citizens use to report urban problems. Coupled with a neural network model for pothole detection |
Public Issues Dashboard | Functional | Panel with public management indicators containing updated indicators of problems and solutions in progress and completed |
Public Works Department System | Functional | System used by the Maintenance Manager to integrate with the project APIs |
API Gateway | Not Functional | Proxy that mediates requests that reach the REST resource layer: controls the traffic of requests |
JWT - Json Web Token | Not Functional | For data consultation and insertion: guarantees the integrity and confidentiality of information during communication |
TLS/SSL with HTTP | Not Functional | Implemented between the application used by citizens, public authorities, and the API Gateway |
Web Application Firewall | Not Functional | Protect APIs from vulnerability exploitation |
Load Balancer | Not Functional | Distributes traffic across multiple server instances or containers, ensuring high availability, scalability, and performance |
Event Driven/Messaging Broker | Not Functional | Asynchronous broker, for the event-driven architecture; allows communication between services in a decoupled and resilient manner |
UC-API-Citizen | Functional | A microservice that handles citizen interactions |
UC-API-Repairer | Functional | A microservice responsible for functions related to repairers |
UC-API-Updater | Functional | A microservice responsible for managing updates in the system. It processes event queues in the event-driven architecture |
UC-API-Indicators | Functional | A microservice that provides indicators and reports |
Database | Not Functional | Store data entered and updated by citizens and the Department of Public Works |
Data Lake | Not Functional | Centralized repository that allows storing data in any format and volume, facilitating data processing and analysis |
Neural Network Model for Pothole Detection | Functional | Used by the Citizen Application and the UC-API-Repairer to detect potholes |
Machine Learning Operations (MLOps) Platforms | Functional | Responsible for managing the entire life cycle of training the neural network model for pothole detection. The trained models are coupled to the Citizen Application and the UC-API-Repairer |
Parameter | Value |
---|---|
Image Resolution | 640 × 640 |
Learning Rate | 0.000298 |
Epochs | 100 |
Batch Size | 16 |
Device | GPU 0 |
Parameter | YOLOv5m | YOLOv5s |
---|---|---|
Train Obj Loss | 0.0078175 | 0.00973 |
Precision | 0.98179 | 0.96114 |
Recall | 0.99841 | 1.0 |
mAP05 | 0.99409 | 0.99353 |
mAP05-095 | 0.94292 | 0.91121 |
F1-Score | 0.99003 | 0.98018 |
Validation Obj Loss | 0.003751 | 0.00453 |
Model size | 42.2 MB | 14.1 MB |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Silva, A.A.F.; Porto, A.J.S.; Belo, B.M.C.; Cesar, C.A.C. Upcity: Addressing Urban Problems Through an Integrated System. Sensors 2024, 24, 7956. https://doi.org/10.3390/s24247956
Silva AAF, Porto AJS, Belo BMC, Cesar CAC. Upcity: Addressing Urban Problems Through an Integrated System. Sensors. 2024; 24(24):7956. https://doi.org/10.3390/s24247956
Chicago/Turabian StyleSilva, Andre A. F., Adao J. S. Porto, Bruno M. C. Belo, and Cecilia A. C. Cesar. 2024. "Upcity: Addressing Urban Problems Through an Integrated System" Sensors 24, no. 24: 7956. https://doi.org/10.3390/s24247956
APA StyleSilva, A. A. F., Porto, A. J. S., Belo, B. M. C., & Cesar, C. A. C. (2024). Upcity: Addressing Urban Problems Through an Integrated System. Sensors, 24(24), 7956. https://doi.org/10.3390/s24247956