From 5497ff27a27770eb06e9592eb7e135a2b3c4d0e1 Mon Sep 17 00:00:00 2001 From: scgan Date: Wed, 22 Feb 2023 19:23:44 +0800 Subject: [PATCH] add description for face number configuration --- examples/human_face_recognition/README.md | 6 ++++++ examples/human_face_recognition/README_CN.md | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/examples/human_face_recognition/README.md b/examples/human_face_recognition/README.md index 8644726..f39c452 100644 --- a/examples/human_face_recognition/README.md +++ b/examples/human_face_recognition/README.md @@ -15,6 +15,12 @@ Before Step 4: Flash and Monitor in [ESP-WHO README](../../README.md), run `idf. ![](../../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 You can use the Boot button on the development board for interaction. diff --git a/examples/human_face_recognition/README_CN.md b/examples/human_face_recognition/README_CN.md index f781504..ac29c58 100644 --- a/examples/human_face_recognition/README_CN.md +++ b/examples/human_face_recognition/README_CN.md @@ -13,6 +13,11 @@ 进行 [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) +您也可以通过在 partitions.csv 里配置 fr 分区的 size 来调节可以存储到 flash 的人脸的个数。 +默认的分区大小为 128 K. 您将能看到以下信息: +``` +I (1070) MFN: fr partition size: 131072 bytes, maxminum 62 IDs can be stored +``` ## 使用示例