A method of automatic monitoring an electronic billboard to immediately respond a production abnormality, wherein the method is adapted to an electronic billboard displaying monitoring information and comprises:
- interconnecting a monitoring device to the electronic billboard;
- capturing a monitoring image from the monitoring information, by the monitoring device;
- performing an image pattern analysis on the monitoring image, and analyzing at least one analysis area corresponding to an image pattern in the monitoring image, and capturing the at least one analysis area as at least one to-be-analyzed image, by the monitoring device;
- setting at least one image analysis method according to the image pattern of the to-be-analyzed image, by the monitoring device;
- transforming the at least one to-be-analyzed image into an image characteristic according to the at least one image analysis method, by the monitoring device;
- transforming sample images of prebuilt categories into grayscale images;
- performing image characteristic calculation on the grayscale images, transformed from the sample images of the prebuilt categories;
- clustering image characteristics of the sample images of each of the categories;
- setting a cluster center of the image characteristics as a sample image prototype of each of the categories;
- calculating a distance from an image characteristic of the to-be-analyzed image to a selected one of the sample image prototypes of the categories, when the distance is lower than or equal to a preset threshold value, designating the image characteristic of the at least one to-be-analyzed image as belonging to the category corresponding to the selected sample image prototype;
- when comparison between the image characteristic and a preset characteristic indicates an abnormality, generating a warning message by the monitoring device;
- and
- when the monitoring device generates the warning message, recording the warning message, and transmitting the warning message and/or issuing an alarm, by the monitoring device.