Ali Rehman Shinwari

Ali Rehman Shinwari


Research Focus & Metrics

Academic Career Length

2Years (2025-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
13 January 2026 in Sensors
Verified
Journal Article
Open access
PDF file
ASAli Rehman Shinwari
Ali Rehman Shinwari
UKUswah Binti Khairuddin
Uswah Binti Khairuddin
MHMohamad Fadzli Bin Haniff
Mohamad Fadzli Bin Haniff
Automotive dashboard cameras are widely used to record driving events and often serve as critical evidence in accident investigations and insurance claims. However, the availability of free and low-cost editing tools has increased the risk of video tampering, underscoring the need for reliable methods to verify video authenticity. Temporal tampering typically involves manipulating frame order through insertion, deletion, or duplication. This paper proposes a computationally efficient framework that transforms high-dimensional video into compact one-dimensional temporal signals and learns tampering patterns using a shallow one-dimensional convolutional neural network (1D-CNN). Five complementary features are extracted between consecutive frames: frame-difference magnitude, structural similarity drift (SSIM drift), optical-flow mean, forward–backward optical-flow consistency error, and compression-aware temporal prediction error. Per-video robust normalization is applied to emphasize intra-video anomalies. Experiments on a custom dataset derived from D2-City demonstrate strong detection performance in single-attack settings: 95.0% accuracy for frame deletion, 100.0% for frame insertion, and 95.0% for frame duplication. In a four-class setting (non-tampered, insertion, deletion, duplication), the model achieves 96.3% accuracy, with AUCs of 0.994, 1.000, 0.997, and 0.988, respectively. Efficiency analysis confirms near real-time CPU inference (≈12.7–12.9 FPS) with minimal memory overhead. Cross-dataset tests on BDDA and VIRAT reveal domain-shift sensitivity, particularly for deletion and duplication, highlighting the need for domain adaptation and augmentation. Overall, the proposed multi-feature 1D-CNN provides a practical, interpretable, and resource-aware solution for temporal tampering detection in dashcam videos, supporting trustworthy video forensics in IoT-enabled transportation systems.

8 December 2025 in Preprints.org
Verified
Preprint
Open access
PDF file
ASAli Rehman Shinwari
Ali Rehman Shinwari
UKUswah Binti Khairuddin
Uswah Binti Khairuddin
MHMohamad Fadzli Bin Haniff
Mohamad Fadzli Bin Haniff
Automotive dashboard cameras are widely used to record driving events and often serve as critical evidence in accident investigations and insurance claims. However, the accessibility of free and low-cost editing tools has increased the risk of video tampering, emphasizing the need for reliable methods to verify video authenticity. Temporal tampering typically involves manipulating the order of frames through insertion, deletion, or duplication. This study proposes a deep learning approach for detecting such tampering in dashcam videos using frame-difference analysis. Frame differences are calculated as the absolute pixel-wise difference between consecutive frames, and the resulting values are aggregated into a temporal magnitude signal, which is then normalized to the range [0, 1]. Sudden spikes in this signal indicate potential tampering. These normalized sequences are processed by a one dimensional Convolutional Neural Network (1D-CNN) for classification. Experimental evaluation using a custom dataset derived from the D2-City dataset demonstrates strong performance, achieving detection accuracies of 98.9% for frame insertion, 94.4% for frame deletion, and 92.4% for frame duplication. The model was further extended for multi-class classification to distinguish among non-tampered, insertion, deletion, and du-plication videos, achieving 92.8% accuracy with consistent precision, recall, and F1-scores. These results, combined with low computational cost, indicate strong potential for near real-time deployment in automotive cybersecurity and forensic applications, enhancing trust in IoT-enabled transportation systems.