A method for generating a heat map from a video may include: detecting objects in the video; determining retention times of each of the objects in divided areas of the video; normalizing the retention times of each of the objects according to the sum of the retention times of the corresponding object in the divided areas; and generating a heat map based on the normalized retention times.