Technion logo
TECHNION - ISRAEL INSTITUTE of TECHNOLOGY
Department of Electrical Engineering
The Vision Research and Image Science Laboratory
VISL logo

Subject Security Camera Application by Statistical Image Sampling
Students Shaul Yifrach  and  Yechiel Ron
Supervisor Ari Shenhar

Supported by the Ollendorff Research Center Fund

Abstract

The objective of this project is to implement a smart motion detector which will control the flow of saving frames coming from the camera .This will save disk spaces by sampling only the frames that are significant to the user , e.g. those who represent the events during the night shift.
 

1. Basic Approach

Since specified motion has to be detected in captured frames, it is obvious that some kind of tracking should be used. The decision fell on difference picture detection , which is based on simple but efficient algorithm of decision.

When knowing that the coming frame is different from the previous one the application notifies the user that there is an indication of change event and that there is a need of saving the current frame.
 

2. Decision algorithm

The Flow chart below demonstrates the way Security Camera works , the comparison is done under real time limitations , hence the need to simplicity while making the decision whether to save the frame .

3. Results

The Chart bellow shows four different ways of calculating the different pictures in all kind of regular motion cases like crossing the room , moving in a far point and running fast through the camera.

The algorithm that was chosen is the one that takes the number of pixels that were changed in this frame , this algorithm gave very good results in figuring out whether difference comes from  noise or  it indicates a real case where there is a need of saving the frame.
The figure bellow demonstrates a classic case where in which somebody enters the room and the camera identifies that and notifies the users by prompting an icon in the bottom of the picture.





Download source code
Download report
4. Conclusions

The results show that the implemented system achieves project's objectives. It was tested with several different cameras and in variety of conditions - in all cases it outcome with desirable behavior , therefore we could use basic video card and simple camera and yet achieve good results .
The chosen algorithm is good for real time applications since it does not require too many memory accesses

5. Acknowledgments

We would like to thank Ari Shenhar for supervising this project, the laboratory staff - Johanan Erez and Ina Krinski for helping us during the work and Ollendorff Research Center Fund for their support.