Patent attributes
A motion detection method is used to abstract multiple moving objects. The motion detection method uses a first frame and a second frame to locate the moving objects appearing in a fixed scene. The method includes calculating a difference of each pixel between the first frame and the second frame, comparing each difference with a first threshold value for generating a plurality of first contours, comparing each difference with a second threshold value for generating a plurality of second contours, picking any of the second contours which overlapped with the first contours for generating corresponding moving blocks, determining whether the pixels located outside the moving blocks are background pixels, and comparing the parameter of each background pixel located inside the moving blocks with its corresponding background value for determining pixels related to the moving objects.