Abstract: automatically detecting an image having a potential photosensitive epilepsy from the image. For A frame image constituting the video, It performs the contrast detection unit 3 and the frequency analysis unit 5 an image analysis of the spatial frequency and the contrast, to detect an image pattern of potential photosensitive epilepsy from the value of the frequency band having a strength Oyo peak value of the contrast.