Image Classifier: Model Training and Save

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

Armourbit users need to use the corresponding initialization block

Sample Program

Sample Program Operations

KOI 2 will show the number of samples taken.

A text message will be shown when the model is successfully saved.

  1. Press Button A on the Micro:bit to take samples for the item named "A".

  2. Press Button B on the Micro:bit to take samples for the item named "B".

  3. Press Button A+B on the Micro:bit to save the model onto KOI, a text message should appear when the model has been saved successfully.

Last updated