The lens system within a camera forms a real, inverted image on the sensor.
Virtual images may be visible to us, but they don't register on film or CCDs, because they're not real. And I think real images are always inverted. (I'm not sure about that part.)