Data-efficient learning of geometric structures from single-view images