(still quite buggy, especially for very fast changing pixels, if nothing is happening, try to restart the script)