Motion Detection and High Speed Camera Image Trigger

Updated:

Detecting a slightest motion in the camera’s field of view and starting video recording is a common task in many surveillance and security systems. The problem is to detect the motion fast enough to be able to capture it in frame, so that the camera wouldn’t record empty video.

The software or FPGA detects a moving object by building histograms of input frames and comparing adjacent frames’ histograms for differences. If a histogram changes significantly, this signalizes about a new object moving in the shot. Such process is called Image Trigger. Image trigger works as a signal to begin capturing of several or multiple frames from a high-speed camera until the movement stops or another trigger activates.

Fastvideo developed such image trigger as PC software. We believe that CPU computations don’t allow attaining the desirable productivity and FPGA solutions are too complicated, so we transferred the histogram calculation to GPU and applied NVIDIA CUDA parallel processing technology. We use CameraLink high speed cameras with PCI-Express framegrabber as a data source for imaging system. Camera sends all data to PC RAM and our software is capable to calculate histogram for every image received in real time. Such architecture still has some latency, but the problem could be easily solved by organizing a circle buffer in PC RAM. Upon every trigger event software calculates a histogram data set and determines whether it differs from the starting histogram. Unprecedented performance of our Image Trigger technology opens a wide range of applications.

Detailed benchmark data. Measured results are published on our benchmark pages: all benchmarks.

GPU image trigger features

PC test configuration

Applications for high-performance histogram calculations

High-performance CUDA histogram is suitable for a variety of digital imaging applications

What we could offer for your NVIDIA GPU

Support

For any further information on these solutions please contact us via email.

Fyodor Serzhenko, Fastvideo

About the author

Fyodor Serzhenko, PhD, is the founder and CEO of Fastvideo. He earned his PhD at the Moscow Institute of Physics and Technology (MIPT) in 1993. Since 2009 he has led the development of Fastvideo’s GPU-accelerated image codecs and ISP modules, including the Fastvideo SDK. Connect on LinkedIn.

Why you can trust these results

Fastvideo has built GPU-accelerated image processing software since 2009. Our codecs comply with the standards they implement — JPEG (ITU-T T.81 / ISO IEC 10918) and JPEG2000 (ITU-T T.800 / ISO IEC 15444) — and our tools are open source on GitHub. Every performance figure we publish is reproducible: see our benchmark methodology, download the Fastvideo SDK benchmark report (PDF), and measure it on your own GPU.

Contact Form

This form collects your name and email. See our Privacy Policy for how we handle your personal data.