ESP32-xiaozhi-esp32/main
virgil a601a5cbc1
feat: sensecap watcher add inference (#1312)
* feat: Wake up when a person is detected

* fix: Solve the problem of no sound when using WakeWordInvoke

* fix: Solve the problem of triggering dialogue when the person has not left

* feat(vision): 优化视觉检测逻辑并增加配置接口

本次提交旨在优化视觉检测功能,使其行为更自然、更智能,并为用户提供灵活的配置选项。

主要更新包括:

1. 引入了更精细的检测状态机:

   - IDLE: 空闲状态,等待检测目标。

   - VALIDATING: 验证状态,在检测到目标后,持续一段时间(可配置)以确认其存在,防止误触发。

   - COOLDOWN: 冷却状态,在一次成功交互后进入,避免过于频繁的打扰。

2. 新增了用于配置视觉检测的 MCP 工具:

   - self.vision.get_detection_config: 获取当前的检测参数(阈值、冷却间隔、验证时长、目标类型)。

   - self.vision.set_detection_config: 允许用户动态修改这些参数,以适应不同场景。

3. 性能优化:

   - 增加了配置参数的内存缓存,避免了在检测循环中对 NVS 的频繁访问。

* feat: Inference using Model 4

* feat: default inference disable

* feat: version cmd change to output json

* fix: fix image display

* Fix include directives for esp_check and esp_app_desc

---------

Co-authored-by: Spencer <love4yzp@gmail.com>
Co-authored-by: Xiaoxia <terrence@tenclass.com>
2025-10-20 21:18:44 +08:00
..
assets Add 16 more languages to locales (#1297) 2025-10-16 23:22:01 +08:00
audio Add esp32c5 configuration (#1258) 2025-10-05 09:59:28 +08:00
boards feat: sensecap watcher add inference (#1312) 2025-10-20 21:18:44 +08:00
display Refactor: Use esp_video component (#1245) 2025-10-14 10:44:45 +08:00
led v1.8.9: Upgrade component versions (#1118) 2025-08-23 07:12:14 +08:00
protocols feat: add manual upgrade firmware 2025-09-12 08:45:29 +08:00
application.cc feat: sensecap watcher add inference (#1312) 2025-10-20 21:18:44 +08:00
application.h feat: add snapshot mcp tool (#1196) 2025-09-14 15:16:49 +08:00
assets.cc feat: add emote style for v2 (#1217) 2025-09-19 14:14:43 +08:00
assets.h feat: build default assets instead of downloading and v2 tables for esp-hi, echoear (#1203) 2025-09-16 15:24:24 +08:00
CMakeLists.txt Add 16 more languages to locales (#1297) 2025-10-16 23:22:01 +08:00
device_state_event.cc feat: add state change events and callbacks (#798) 2025-07-18 01:35:31 +08:00
device_state_event.h feat: add state change events and callbacks (#798) 2025-07-18 01:35:31 +08:00
device_state.h feat: add state change events and callbacks (#798) 2025-07-18 01:35:31 +08:00
idf_component.yml Add 16 more languages to locales (#1297) 2025-10-16 23:22:01 +08:00
Kconfig.projbuild Add 16 more languages to locales (#1297) 2025-10-16 23:22:01 +08:00
main.cc feat: add snapshot mcp tool (#1196) 2025-09-14 15:16:49 +08:00
mcp_server.cc feat: build default assets instead of downloading and v2 tables for esp-hi, echoear (#1203) 2025-09-16 15:24:24 +08:00
mcp_server.h feat: add snapshot mcp tool (#1196) 2025-09-14 15:16:49 +08:00
ota.cc regenerate jpeg encoder (#1198) 2025-09-16 05:00:02 +08:00
ota.h feat: add manual upgrade firmware 2025-09-12 08:45:29 +08:00
settings.cc xmin-c3 share MCP tool and sleep mode can be disabled (#1054) 2025-08-09 03:08:42 +08:00
settings.h xmin-c3 share MCP tool and sleep mode can be disabled (#1054) 2025-08-09 03:08:42 +08:00
system_info.cc regenerate jpeg encoder (#1198) 2025-09-16 05:00:02 +08:00
system_info.h regenerate jpeg encoder (#1198) 2025-09-16 05:00:02 +08:00