An empirical study of the impact of masks on face recognition