Skip to main content

Research Repository

Advanced Search

Privacy Preserved Video Summarization of Road Traffic Events for IoT Smart Cities

Tahir, Mehwish; Qiao, Yuansong; Kanwal, Nadia; Lee, Brian; Asghar, Mamoona Naveed


Mehwish Tahir

Yuansong Qiao

Brian Lee

Mamoona Naveed Asghar


The purpose of smart surveillance systems for automatic detection of road traffic accidents is to quickly respond to minimize human and financial losses in smart cities. However, along with the self-evident benefits of surveillance applications, privacy protection remains crucial under any circumstances. Hence, to ensure the privacy of sensitive data, European General Data Protection Regulation (EU-GDPR) has come into force. EU-GDPR suggests data minimisation and data protection by design for data collection and storage. Therefore, for a privacy-aware surveillance system, this paper targets the identification of two areas of concern: (1) detection of road traffic events (accidents), and (2) privacy preserved video summarization for the detected events in the surveillance videos. The focus of this research is to categorise the traffic events for summarization of the video content, therefore, a state-of-the-art object detection algorithm, i.e., You Only Look Once (YOLOv5), has been employed. YOLOv5 is trained using a customised synthetic dataset of 600 annotated accident and non-accident video frames. Privacy preservation is achieved in two steps, firstly, a synthetic dataset is used for training and validation purposes, while, testing is performed on real-time data with an accuracy from 55% to 85%. Secondly, the real-time summarized videos (reduced video duration to 42.97% on average) are extracted and stored in an encrypted format to avoid un-trusted access to sensitive event-based data. Fernet, a symmetric encryption algorithm is applied to the summarized videos along with Diffie–Hellman (DH) key exchange algorithm and SHA256 hash algorithm. The encryption key is deleted immediately after the encryption process, and the decryption key is generated at the system of authorised stakeholders, which prevents the key from a man-in-the-middle (MITM) attack.


Tahir, M., Qiao, Y., Kanwal, N., Lee, B., & Asghar, M. N. (2023). Privacy Preserved Video Summarization of Road Traffic Events for IoT Smart Cities. Cryptography, 7(1), Article ARTN 7.

Journal Article Type Article
Acceptance Date Feb 6, 2023
Online Publication Date Feb 9, 2023
Publication Date 2023-03
Deposit Date Jul 6, 2023
Publisher MDPI
Peer Reviewed Peer Reviewed
Volume 7
Issue 1
Article Number ARTN 7
Keywords classification; cryptography; smart cities; traffic events; video summarization; YOLO
Publisher URL