Most Caterpillars have six very simple eyes on each
side of the head (making 12 in all),
although some species have
five or seven each side.
These light sensitive stuctures are called ocelli or stemmata.
These probably only sense light and dark, and do not
distinguish shapes or colour.