Move camera until image corresponds to stored image of same workpiece