add description for face number configuration

pull/250/head
scgan 2023-02-22 19:23:44 +08:00
parent 0b254f64c8
commit 5497ff27a2
2 changed files with 11 additions and 0 deletions

View File

@ -15,6 +15,12 @@ Before Step 4: Flash and Monitor in [ESP-WHO README](../../README.md), run `idf.
![](../../img/face_recognition_model_config.png) ![](../../img/face_recognition_model_config.png)
You can also configure the size of fr partition in partitions.csv to adjust number of faces to be stored in flash.
The default partition size is 128K. You will be able to see information displayed as below:
```
I (1070) MFN: fr partition size: 131072 bytes, maxminum 62 IDs can be stored
```
## Use the Example ## Use the Example
You can use the Boot button on the development board for interaction. You can use the Boot button on the development board for interaction.

View File

@ -13,6 +13,11 @@
进行 [ESP-WHO README](../../README_CN.md) 中的步骤 4运行和监视之前在终端输入 `idf.py menuconfig` ,依次点击 (Top) -> Component config -> ESP-WHO Configuration -> Model Configuration -> Face Recognition 进入下图所示的人脸识别模型配置界面,配置模型版本和量化方式: 进行 [ESP-WHO README](../../README_CN.md) 中的步骤 4运行和监视之前在终端输入 `idf.py menuconfig` ,依次点击 (Top) -> Component config -> ESP-WHO Configuration -> Model Configuration -> Face Recognition 进入下图所示的人脸识别模型配置界面,配置模型版本和量化方式:
![](../../img/face_recognition_model_config.png) ![](../../img/face_recognition_model_config.png)
您也可以通过在 partitions.csv 里配置 fr 分区的 size 来调节可以存储到 flash 的人脸的个数。
默认的分区大小为 128 K. 您将能看到以下信息:
```
I (1070) MFN: fr partition size: 131072 bytes, maxminum 62 IDs can be stored
```
## 使用示例 ## 使用示例