Fastest way to detect the non/least-changing pixels of successive images
问题 I want to find the pixels of a video stream that are static. This way I can detect logos and other non-moving items on my video stream. My idea behind the script is as follows: collect a number of equally-sized and graysized frames in a list called previous if a certain amount of frames is collected, call the function np.std This function loops over all the x- and y-coordinates of a new image. Calculate the standard deviation of the grayvalues for all the coordinates based on the grayvalues