CPC H04N 21/8549 (2013.01) [G06T 7/20 (2013.01); G06T 7/70 (2017.01); H04N 21/8456 (2013.01)] | 6 Claims |
6. An apparatus for generating a summary video for an original video, the apparatus comprising a hardware processor configured to:
detect a plurality of moving objects appearing in an original video composed of a plurality of frames and generate object information including positions and sizes of the objects within the frames;
assign a same ID to an object whose identicalness is recognized among the objects appearing in the plurality of frames;
generate a frame set by selecting only frames in which the moving objects appear in the original video;
form frame volumes each composed of a plurality of frames by dividing the frame set at a preset time interval; and
generate a summary video having a shorter playback time than the original video by combining the frame volumes,
wherein any one frame volume of the plurality of frame volumes is incorporated into a temporary summary video, and the remaining frame volumes are sequentially incorporated into the temporary summary video according to a predetermined sequence to gradually increase the temporary summary video to create a final summary video,
wherein a degree of overlap of movement lines of moving objects appearing in each frame volume and the temporary summary video and a degree of shortening of time are compared and judged when each frame volume is incorporated into a previously prepared temporary summary video, and an optimal position at which each frame volume is incorporated into the temporary summary video is determined based on the comparison,
wherein the movement lines of the moving objects represent moving paths of the moving objects in an X-Y plane having an X-axis representing displacement and a Y-axis representing time.
|