If the wire are always vertical like this you could look between each edge what color are the pixels.
-detect edges
-looks between edges what color is present and make an array[ wire color 1, wirecolor 2, … ]
-loop throught the array ands compare each wirecolor to the expected color
-in the loop, if not correct do your red circle + text