Patent ID: 7428315

Claim:
One or more computer readable media having stored thereon a plurality of instructions to detect a candidate region for an untracked face in a frame of content, wherein the plurality of instructions, when executed by one or more processors, causes the one or more processors to: detect whether there is motion in the frame; if there is motion in the frame, then perform motion-based initialization to identify the candidate region; detect whether there is audio in the frame; if there is audio in the frame, then perform audio-based initialization to identify the candidate region; and if there is neither motion in the frame nor audio in the frame, then use a fast face detector to identify the candidate region; and wherein the plurality of instructions to perform motion-based initialization comprises instructions that cause the one or more processors to: determine whether there is motion at a plurality of pixels on a plurality of lines across the frame; generate a sum of frame differences for a plurality of segments of multiple ones of the plurality of lines; select, for each of the multiple lines, the segment having the largest sum; identify a smoothest region of the selected segments; check whether the smoothest region resembles a human upper body; and extract, as the candidate area, the portion of the smoothest region that resembles a human head.