双核心架构 + 预训练模型和云端大模型API,实现嵌入式视频监控及智能识别系统 - stroke:#333333
提供一个方案: 基于STM32H7+ESP32-S3双核心架构,结合STM32 AI Model Zoo预训练模型和云端大模型API,实现了一套完整的嵌入式视频监控及智能识别系统。核心优势:
端侧+云端的混合智能:本地推理实现低延迟实时检测,云端视觉理解模型实现高层次语义分析,两者互补形成完整的智能感知链路
成本可控:硬件BOM可控,云端API提供免费额度
AI生态成熟:ST官方提供140+预训练模型和X-CUBE-AI部署工具,从模型获取到部署都有现成的全流程方案支持
可扩展性强:模块化架构设计,可根据需求灵活升级为STM32N6 NPU方案
推荐入门路径:先用STM32H743 + OV5640完成基础图像采集和本地推理,再接入ESP32-S3实现云端API调用和语音播报,最后根据性能需求决定是否升级至STM32N6 NPU方案。
解析与方案库:完整设计方案,包括系统框图、关键器件选型、软件流程图; 模块化代码与电路:STM32H7+ESP32-S3双核心架构、结合STM32 AI Model Zoo预训练模型和云端大模型API、LCD显示、无线通信等模块的驱动代码与电路原理图; 测试报告范例:作品性能测试表、误差分析报告、设计报告评分标准解析。
一套完整的嵌入式视频监控方案,涉及STM32H7和ESP32-S3的双核架构、AI模型部署、云端API接入等多个技术层面。
方案覆盖了摄像头驱动、双核通信、AI部署工具、云端API接入、LCD显示和大模型API几个关键方向。ST的AI Model Zoo和X-CUBE-AI工具链是部署的核心,ESP32-S3的HTTP客户端和阿里云百炼的API文档提供了云端调用的基础。
基于STM32H7+ESP32-S3双核架构的嵌入式视频监控及智能识别系统方案
一、方案概述与核心优势
1.1 项目定位
本方案设计了一套完整的嵌入式视频监控及智能识别系统,采用STM32H7与ESP32-S3双核心架构。STM32H7作为主控负责图像采集、端侧AI推理(通过X-CUBE-AI部署的预训练模型),ESP32-S3负责Wi-Fi联网、云端大模型API调用和语音播报输出。二者通过高速SPI或UART接口协同工作,形成“端侧实时检测+云端深度理解”的混合智能链路。
1.2 核心优势详解
优势一:端侧+云端的混合智能
端侧STM32H7运行轻量化目标检测模型(如ST SSD MobileNet v1或Tiny YOLO v2),在480MHz主频下实现约10-30FPS的实时检测。一旦检测到关键事件(如特定人员出现、物品遗留、异常行为),立即通过ESP32-S3调用云端视觉理解大模型API,进行多层次语义分析,如场景描述、人物关系识别、情感判断等。这种设计既发挥了端侧推理的低延迟优势,又弥补了端侧模型在高级语义理解上的短板。
优势二:成本可控
STM32H743系列MCU单价约8-15美元,ESP32-S3模块约4-6美元,OV5640摄像头模组约10-15美元,整体BOM可控制在50-80美元。云端API方面,阿里云百炼提供首月免费额度(含100万Token),腾讯混元和智谱等平台也提供相应免费试用额度。这意味着用户可以零成本完成原型开发和测试,后续按需付费。
优势三:AI生态成熟
ST官方提供超过140个预训练模型,涵盖图像分类、目标检测、人体姿态估计、异常检测等任务。借助X-CUBE-AI工具(v7.3.0+),开发者无需深入神经网络底层,只需将训练好的模型(TensorFlow Lite、ONNX等格式)导入STM32CubeMX即可自动生成优化后的C代码和AI运行库,从模型获取到部署都有现成的全流程方案支持。
优势四:可扩展性强
本方案采用模块化分层架构设计,核心接口标准化。当未来需要更高性能时,可将STM32H7升级为带有专用NPU的STM32N6系列(NPU算力达600 GOPS),无需修改上层逻辑,仅替换底层驱动即可完成升级。
二、系统架构设计
2.1 整体架构图
#mermaid-svg-3fe8pLFly5Xvhyci{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-3fe8pLFly5Xvhyci .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-3fe8pLFly5Xvhyci .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-3fe8pLFly5Xvhyci .error-icon{fill:#552222;}#mermaid-svg-3fe8pLFly5Xvhyci .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-3fe8pLFly5Xvhyci .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-3fe8pLFly5Xvhyci .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-3fe8pLFly5Xvhyci .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-3fe8pLFly5Xvhyci .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-3fe8pLFly5Xvhyci .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-3fe8pLFly5Xvhyci .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-3fe8pLFly5Xvhyci .marker{fill:#333333;stroke:#333333;}#mermaid-svg-3fe8pLFly5Xvhyci .marker.cross{stroke:#333333;}#mermaid-svg-3fe8pLFly5Xvhyci svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-3fe8pLFly5Xvhyci p{margin:0;}#mermaid-svg-3fe8pLFly5Xvhyci .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid-svg-3fe8pLFly5Xvhyci .cluster-label text{fill:#333;}#mermaid-svg-3fe8pLFly5Xvhyci .cluster-label span{color:#333;}#mermaid-svg-3fe8pLFly5Xvhyci .cluster-label span p{background-color:transparent;}#mermaid-svg-3fe8pLFly5Xvhyci .label text,#mermaid-svg-3fe8pLFly5Xvhyci span{fill:#333;color:#333;}#mermaid-svg-3fe8pLFly5Xvhyci .node rect,#mermaid-svg-3fe8pLFly5Xvhyci .node circle,#mermaid-svg-3fe8pLFly5Xvhyci .node ellipse,#mermaid-svg-3fe8pLFly5Xvhyci .node polygon,#mermaid-svg-3fe8pLFly5Xvhyci .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-3fe8pLFly5Xvhyci .rough-node .label text,#mermaid-svg-3fe8pLFly5Xvhyci .node .label text,#mermaid-svg-3fe8pLFly5Xvhyci .image-shape .label,#mermaid-svg-3fe8pLFly5Xvhyci .icon-shape .label{text-anchor:middle;}#mermaid-svg-3fe8pLFly5Xvhyci .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-3fe8pLFly5Xvhyci .rough-node .label,#mermaid-svg-3fe8pLFly5Xvhyci .node .label,#mermaid-svg-3fe8pLFly5Xvhyci .image-shape .label,#mermaid-svg-3fe8pLFly5Xvhyci .icon-shape .label{text-align:center;}#mermaid-svg-3fe8pLFly5Xvhyci .node.clickable{cursor:pointer;}#mermaid-svg-3fe8pLFly5Xvhyci .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-3fe8pLFly5Xvhyci .arrowheadPath{fill:#333333;}#mermaid-svg-3fe8pLFly5Xvhyci .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-3fe8pLFly5Xvhyci .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-3fe8pLFly5Xvhyci .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-3fe8pLFly5Xvhyci .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-3fe8pLFly5Xvhyci .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-3fe8pLFly5Xvhyci .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-3fe8pLFly5Xvhyci .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-3fe8pLFly5Xvhyci .cluster text{fill:#333;}#mermaid-svg-3fe8pLFly5Xvhyci .cluster span{color:#333;}#mermaid-svg-3fe8pLFly5Xvhyci div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-3fe8pLFly5Xvhyci .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-3fe8pLFly5Xvhyci rect.text{fill:none;stroke-width:0;}#mermaid-svg-3fe8pLFly5Xvhyci .icon-shape,#mermaid-svg-3fe8pLFly5Xvhyci .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-3fe8pLFly5Xvhyci .icon-shape p,#mermaid-svg-3fe8pLFly5Xvhyci .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-3fe8pLFly5Xvhyci .icon-shape .label rect,#mermaid-svg-3fe8pLFly5Xvhyci .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-3fe8pLFly5Xvhyci .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-3fe8pLFly5Xvhyci .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-3fe8pLFly5Xvhyci :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
存储
外部连接
端侧设备
SPI/UART高速通信
Wi-Fi/HTTPS
音频流
OV5640摄像头DCMI接口
STM32H743主控制器
SDRAMW9825G6KH显存与帧缓存
NOR Flash模型存储
TFT LCDILI9341实时画面显示
ESP32-S3协处理器
JOYSTICK用户输入
扬声器/耳机TTS语音输出
LED状态指示
云端大模型API阿里云百炼/OpenAI
TTS语音合成API
SD卡图像存储/日志
2.2 UML系统级架构图(组件图)
#mermaid-svg-8GO3IbHOg0DgNXcZ{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-8GO3IbHOg0DgNXcZ .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-8GO3IbHOg0DgNXcZ .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-8GO3IbHOg0DgNXcZ .error-icon{fill:#552222;}#mermaid-svg-8GO3IbHOg0DgNXcZ .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-8GO3IbHOg0DgNXcZ .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-8GO3IbHOg0DgNXcZ .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-8GO3IbHOg0DgNXcZ .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-8GO3IbHOg0DgNXcZ .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-8GO3IbHOg0DgNXcZ .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-8GO3IbHOg0DgNXcZ .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-8GO3IbHOg0DgNXcZ .marker{fill:#333333;stroke:#333333;}#mermaid-svg-8GO3IbHOg0DgNXcZ .marker.cross{stroke:#333333;}#mermaid-svg-8GO3IbHOg0DgNXcZ svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-8GO3IbHOg0DgNXcZ p{margin:0;}#mermaid-svg-8GO3IbHOg0DgNXcZ .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid-svg-8GO3IbHOg0DgNXcZ .cluster-label text{fill:#333;}#mermaid-svg-8GO3IbHOg0DgNXcZ .cluster-label span{color:#333;}#mermaid-svg-8GO3IbHOg0DgNXcZ .cluster-label span p{background-color:transparent;}#mermaid-svg-8GO3IbHOg0DgNXcZ .label text,#mermaid-svg-8GO3IbHOg0DgNXcZ span{fill:#333;color:#333;}#mermaid-svg-8GO3IbHOg0DgNXcZ .node rect,#mermaid-svg-8GO3IbHOg0DgNXcZ .node circle,#mermaid-svg-8GO3IbHOg0DgNXcZ .node ellipse,#mermaid-svg-8GO3IbHOg0DgNXcZ .node polygon,#mermaid-svg-8GO3IbHOg0DgNXcZ .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-8GO3IbHOg0DgNXcZ .rough-node .label text,#mermaid-svg-8GO3IbHOg0DgNXcZ .node .label text,#mermaid-svg-8GO3IbHOg0DgNXcZ .image-shape .label,#mermaid-svg-8GO3IbHOg0DgNXcZ .icon-shape .label{text-anchor:middle;}#mermaid-svg-8GO3IbHOg0DgNXcZ .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-8GO3IbHOg0DgNXcZ .rough-node .label,#mermaid-svg-8GO3IbHOg0DgNXcZ .node .label,#mermaid-svg-8GO3IbHOg0DgNXcZ .image-shape .label,#mermaid-svg-8GO3IbHOg0DgNXcZ .icon-shape .label{text-align:center;}#mermaid-svg-8GO3IbHOg0DgNXcZ .node.clickable{cursor:pointer;}#mermaid-svg-8GO3IbHOg0DgNXcZ .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-8GO3IbHOg0DgNXcZ .arrowheadPath{fill:#333333;}#mermaid-svg-8GO3IbHOg0DgNXcZ .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-8GO3IbHOg0DgNXcZ .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-8GO3IbHOg0DgNXcZ .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-8GO3IbHOg0DgNXcZ .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-8GO3IbHOg0DgNXcZ .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-8GO3IbHOg0DgNXcZ .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-8GO3IbHOg0DgNXcZ .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-8GO3IbHOg0DgNXcZ .cluster text{fill:#333;}#mermaid-svg-8GO3IbHOg0DgNXcZ .cluster span{color:#333;}#mermaid-svg-8GO3IbHOg0DgNXcZ div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-8GO3IbHOg0DgNXcZ .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-8GO3IbHOg0DgNXcZ rect.text{fill:none;stroke-width:0;}#mermaid-svg-8GO3IbHOg0DgNXcZ .icon-shape,#mermaid-svg-8GO3IbHOg0DgNXcZ .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-8GO3IbHOg0DgNXcZ .icon-shape p,#mermaid-svg-8GO3IbHOg0DgNXcZ .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-8GO3IbHOg0DgNXcZ .icon-shape .label rect,#mermaid-svg-8GO3IbHOg0DgNXcZ .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-8GO3IbHOg0DgNXcZ .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-8GO3IbHOg0DgNXcZ .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-8GO3IbHOg0DgNXcZ :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
ESP32-S3 Side
STM32H7 Side
Camera DriverOV5640 DCMI
Image CaptureDMA双缓冲
Image PreprocRGB→BGR/Resize
AI InferenceX-CUBE-AI
Post ProcessNMS/置信度过滤
LCD DisplayILI9341
JPEG EncoderHardware
SD Card StorageFATFS
CommunicationSPI Master
CommunicationSPI Slave
Protocol Parser
Wi-Fi Manager
HTTP/HTTPS ClientESP HTTP Client
Cloud API Call阿里云百炼
Response ParsercJSON 拼多多帮助力入口
TTS Synthesis云端/本地
Audio OutputI2S DAC/扬声器
JOYSTICK HandlerGPIO中断
LED ControlPWM/GPIO
2.3 UML系统部署图
#mermaid-svg-MUSxCD84VTdHYgdY{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-MUSxCD84VTdHYgdY .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-MUSxCD84VTdHYgdY .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-MUSxCD84VTdHYgdY .error-icon{fill:#552222;}#mermaid-svg-MUSxCD84VTdHYgdY .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-MUSxCD84VTdHYgdY .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-MUSxCD84VTdHYgdY .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-MUSxCD84VTdHYgdY .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-MUSxCD84VTdHYgdY .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-MUSxCD84VTdHYgdY .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-MUSxCD84VTdHYgdY .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-MUSxCD84VTdHYgdY .marker{fill:#333333;stroke:#333333;}#mermaid-svg-MUSxCD84VTdHYgdY .marker.cross{stroke:#333333;}#mermaid-svg-MUSxCD84VTdHYgdY svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-MUSxCD84VTdHYgdY p{margin:0;}#mermaid-svg-MUSxCD84VTdHYgdY .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid-svg-MUSxCD84VTdHYgdY .cluster-label text{fill:#333;}#mermaid-svg-MUSxCD84VTdHYgdY .cluster-label span{color:#333;}#mermaid-svg-MUSxCD84VTdHYgdY .cluster-label span p{background-color:transparent;}#mermaid-svg-MUSxCD84VTdHYgdY .label text,#mermaid-svg-MUSxCD84VTdHYgdY span{fill:#333;color:#333;}#mermaid-svg-MUSxCD84VTdHYgdY .node rect,#mermaid-svg-MUSxCD84VTdHYgdY .node circle,#mermaid-svg-MUSxCD84VTdHYgdY .node ellipse,#mermaid-svg-MUSxCD84VTdHYgdY .node polygon,#mermaid-svg-MUSxCD84VTdHYgdY .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-MUSxCD84VTdHYgdY .rough-node .label text,#mermaid-svg-MUSxCD84VTdHYgdY .node .label text,#mermaid-svg-MUSxCD84VTdHYgdY .image-shape .label,#mermaid-svg-MUSxCD84VTdHYgdY .icon-shape .label{text-anchor:middle;}#mermaid-svg-MUSxCD84VTdHYgdY .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-MUSxCD84VTdHYgdY .rough-node .label,#mermaid-svg-MUSxCD84VTdHYgdY .node .label,#mermaid-svg-MUSxCD84VTdHYgdY .image-shape .label,#mermaid-svg-MUSxCD84VTdHYgdY .icon-shape .label{text-align:center;}#mermaid-svg-MUSxCD84VTdHYgdY .node.clickable{cursor:pointer;}#mermaid-svg-MUSxCD84VTdHYgdY .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-MUSxCD84VTdHYgdY .arrowheadPath{fill:#333333;}#mermaid-svg-MUSxCD84VTdHYgdY .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-MUSxCD84VTdHYgdY .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-MUSxCD84VTdHYgdY .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-MUSxCD84VTdHYgdY .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-MUSxCD84VTdHYgdY .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-MUSxCD84VTdHYgdY .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-MUSxCD84VTdHYgdY .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-MUSxCD84VTdHYgdY .cluster text{fill:#333;}#mermaid-svg-MUSxCD84VTdHYgdY .cluster span{color:#333;}#mermaid-svg-MUSxCD84VTdHYgdY div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-MUSxCD84VTdHYgdY .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-MUSxCD84VTdHYgdY rect.text{fill:none;stroke-width:0;}#mermaid-svg-MUSxCD84VTdHYgdY .icon-shape,#mermaid-svg-MUSxCD84VTdHYgdY .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-MUSxCD84VTdHYgdY .icon-shape p,#mermaid-svg-MUSxCD84VTdHYgdY .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-MUSxCD84VTdHYgdY .icon-shape .label rect,#mermaid-svg-MUSxCD84VTdHYgdY .image-shape .label rect{opacity:0.5;bac