1. A method of analyzing objects in images captured by a monitoring camera, comprising the steps of: receiving a first sequence of image frames having a first image resolution and covering a first image area receiving a second sequence of image frames having a second image resolution higher than the first image resolution and covering a second image area being a portion of the first image area, detecting objects present in the first sequence of image frames detecting objects present in the second sequence of image frames, providing a first set of object masks for objects detected in the first sequence of image frames, providing a second set of object masks for objects detected in the second sequence of image frames, identifying an object present in the first and the second sequence of image frames by detecting a first object mask in the first set of object masks at least partly overlapping a second object mask in the second set of object masks, merging the first and the second object mask into a third object mask by including data from the first object mask for parts present only in the first image area, and data from the second object mask for parts present in the second image area, and providing a third set of object masks including the first set of object masks excluding the first object mask, the second set of object masks excluding the second object mask, and the third object mask.