I. Introduction
Most public venues have installed many surveillance cameras, including airports, train stations, banks, schools and markets. Such surveillance systems are frequently left unattended. Tampering detection has been extensively studied. For instance, Aksay et. al. [1] introduced computationally efficient wavelet domain methods to ensure rapid detection of camera tampering and identified real-life security alarm problems. Algorithms were developed for detecting camera occlusion and reduced visibility based on a background model and wavelet transform. However background model based camera tampering detection algorithms are often unstable owing to various lighting conditions. Ribnick et. al.[2] used two stored buffer frames (short-term pool and longterm pool) as reference images to determine whether camera tampering has occurred. Nevertheless, any dissimilarity between the short-term pool and the long-term pool is flagged as tampering. Saglam and Temizel [3] provide a simple, low computational cost alternative. Pedro et. al. [4] developed an edge background model to detect camera tampering. However, for large objects or a crowd moving in front of the camera, the image characteristics are significantly altered, causing false alarms. Harasse et. al. [5] discussed a camera dysfunction detector designed mainly for surveillance systems inside vehicles. Among the other external parameters that can also influence the tampering results include illumination, weather conditions or voluntary actions. These parameters must be considered to prevent or at least detect these circumstances. This work focuses on active camera tampering detection, typically referred to as sabotage. This work presents a novel detection approach for camera tampering. An adaptive non-background model image is compared with incoming video camera frames and with an updated background image. Additionally, the moving areas of an image are monitored, along with a region based operation undertaken to reduce false alarms. This adaptive method is robust to objects moving in front of a camera. This work detects three types of camera tampering in real-time and possesses low false alarm. The proposed system is implemented on a TIDM6437 platform. Several optimization techniques, including instruction parallelism and multiple data packing in a single instruction, and floating-point arithmetic optimization, are considered. Importantly, the proposed detection algorithm is superior to conventional ones in its ability to automatically reply.