Camera-based determination of the work offset