A portable system for 2D vision