A computer program product comprising a non-transitory computer-readable storage medium having instructions encoded thereon that, when executed by a processor, cause the processor to:
- capture video data of a local area within a field of view of an image capture device included in a client device, the captured video data comprising a plurality of frames;
- identify a background portion and one or more foreground portions of frames of the captured video data;
- identify one or more regions within the captured video data including at least a threshold amount of movement in consecutive frames of the captured video data;
- identify a candidate region from the identified one or more regions based on amounts of each of the identified one or more regions identified as foreground portions of frames of the captured video data;
- capture higher resolution frames of the candidate region via the image capture device included in the client device, while maintaining capture of the video data of the local area;
- determine an amount of movement within the candidate region between consecutive frames of the higher resolution frames of the candidate region;
- and
- identify the candidate region includes a moving object in response to the amount of movement within the candidate region between consecutive frames of the higher resolution frames of the candidate region equaling or exceeding a different threshold amount of movement.