A simple eye can form an image without a lens
In a simple cup-shaped eye, making the opening narrower improves the image more than making the cup deeper. If the opening becomes small enough, the eye can form a real image and recognize basic shapes even without a lens.