1. In a camera, a method for identifying moving objects of interest in a field of view of the camera, comprising: capturing two or more images successively over a time period, each image being associated with a different time during the time period; obtaining a binary image from each successive pair of images, the binary image comprising a binary value at each pixel indicating whether or not a change in pixel values of at least a predetermined magnitude has occurred at that pixel between the time associated with the first image of the success pair of images and time associated with the second image of the successive pair of images; deriving one or more motion boxes each encapsulating one or more nearby pixels in the binary image; processing the motion boxes of each binary image to obtain refined motion boxes; and classifying portions of the images corresponding to the refined motion boxes each into a category representative of one of the moving objects of interest.