Detects a masked face

MLBoy
2 min readDec 6, 2021

Until now, Vision could detect faces, but could not detect faces with masks.

Conventionally, the face of the mask is not detected

I took it in the wrong direction and detected that the mask was not worn (the fact that Vision reacts does not mean that the mask is not worn).

Starting with the 2021 iOS 15 version, masked faces can also be detected.

The minimum configuration to detect a face is as follows.

The masked face can be detected from VNDetectFaceRectanglesRequestRevision3.

Detecting a face with a mask

🐣

I’m a freelance engineer.
Feel free to contact us for work consultation 🐥
rockyshikoku@gmail.com

I am making an app that uses Core ML and ARKit.
We send machine learning / AR related information.

GitHub
Twitter
Medium

Thank you very much.

--

--