Face Mask Detection

MakeCode Programming Tutorial

Search for KOI2 in the search bar, select KOI 2.(KOI 2 has been approved by Microsoft)

The extension will be imported into your project.

Coding Blocks

Sample Program

circle-info

Armourbit users need to use the corresponding initialization block

Sample Programarrow-up-right

Sample Program Operations

  1. KOI automatically detects faces.

  2. If the detected face is wearing a mask, a tick icon is shown on the Micro:bit.

  3. If the detected face is not wearing a mask, a cross icon is shown on the Micro:bit.

Last updated