check if the image was processed every 1 sec to reduce the delay