know object got reveal

I have developed scratch card effect.

I am now working on reward system, so my question is how will I go on and implement logic which will let me know that the object behind scratch card is now visible??

47848-how-to-know.jpg

You check the texture rgb array for average alpha intensity, and if their value is < then some constant, then is probably very visible.