Among computer visions, motion detection which can be applied to many areas would be quite critical for research. Due to the large amount of computations of a motion detection system, it’s such often a circumstance that if the software form is utilized to motion detection operations, the images detected couldn’t meet the real-time requirements of a surveillance system , leading to asynchronous condition between detection and observation. Consequently, in this research, we take advantage of specific hardware to approach motion detection in order to accelerate and to meet the need of real-time surveillance systems. In this research, we’re going to discuss motion detection in fully software and in fully hardware respectively, and then analyze their efficacy. We also evaluate the frame rate of motion detection in hardware/software co-design in the thesis.