> For the complete documentation index, see [llms.txt](https://sharinghub-eng.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub-eng.kittenbot.hk/educational-kit-sets/micro-bit-inventor-education-kit/micro-bit-inventor-kit-koi-2-upgrade/facial-image-identification-safe.md).

# Facial Image Identification Safe

![](https://kittenbothk.readthedocs.io/en/latest/_images/extra_safe_render.png)

### Building Instructions

[Building Instructions Download](https://drive.google.com/drive/folders/1vPB1nm2KgCbI8fHl_VWVD3YiAxTgYQWc?usp=sharing)

![](https://kittenbothk.readthedocs.io/en/latest/_images/extra_safe_wire.png)

### Sample Program

#### Training Program

{% embed url="<https://makecode.microbit.org/_bEddkWew7PeH>" %}

[參考程式下載](https://makecode.microbit.org/_bEddkWew7PeH)

#### 主程式

{% embed url="<https://makecode.microbit.org/_JYafdPHqqagq>" %}

[Sample Program](https://makecode.microbit.org/_JYafdPHqqagq)

### Model Instructions

Use the training program to create an image classification model. Press Button A to train for a face, press Button B to save the model.

Use the main program to recognize. Press Button A+B to load the model, press Button A to run detection. If the person matches, the lock on the safe will be unlocked, press Button B to lock it.
