Patent ID: 6954226

Claim:
A method of detecting motion for digital camera, said method comprising the steps of: storing gray level values of a specific group in a first image; capturing real-time gray level values corresponding to said specific group in a real-time image; comparing said real-time gray level values of said specific group in said real-time image with said gray level values of said specific group in said first image; determining whether gray level differences between said specific groups in said real-time image and said first image are greater than a predetermined threshold value, wherein said gray level differences greater than said threshold value indicate an object of said real-time image is in motion or else no motion is occurring in the real-time image; performing a sequential step for the object detected to be in motion when said gray level value differences are greater than said threshold value; storing said real-time gray level values of said specific group in said real-time image as said gray level values of said specific group in said first image; setting a parameter F equal to 1 when the object of said real-time image is determined to be in motion; setting said parameter F equal to 0 when the object of said real-time image is determined to be motionless; checking said parameter F; sequentially performing the motion detection steps when said parameter F is equal to 0; and stopping motion detection steps for a predetermined time when said parameter F is equal to 1 and resetting said parameter F equal to 0 to continue the motion detection steps.