1. A method for stabilizing camera images captured by a video recording device and evaluated by a video analytics application, the method comprising: identifying candidate regions within a reference frame to use in aligning a stream of frames captured by a video camera, wherein the candidate regions are sorted in descending order by a density of tracked features within each candidate region; designating a candidate region having a highest density of tracked features among the candidate regions as an alignment region for each captured frame; and upon determining that the stream is unstable based on the tracked features in a current frame being misaligned relative to the corresponding features of the reference frame: determining an affine transformation matrix for the current frame based on the alignment region, warping the current frame using the affine transformation matrix such that the features in the alignment region of the current frame match the corresponding features of the reference frame, identifying a registration error between the warped current frame and the reference frame, and upon determining that the registration error is within a tolerance threshold, designating the warped current frame as a stabilized frame.