Face and medical mask detection