Model-based 3d object recognition using invariants