I have a live beach camera which sometimes loses it's signal and produces a still image (which has no curves):

This is a example of a good image:

Is there non-expensive computing wise way of detecting the first image? (the camera is connected to a udoo board, which can barely pull the broadcast of the stream). The problem is that it always contains different colours (but the shape stays pretty much the same).
I am thinking that a good approach would be to count the number of curves in the image (but couldn't figure a way how to do it).