v10模型集成+去抖+架构重构: 单线程+背景采集, ControlUpdate单出口电机控制, I2C音频持久fd, 斑马线接近去抖

This commit is contained in:
spdis
2026-06-09 17:07:00 +08:00
parent b6b631cef3
commit d284e18407
25 changed files with 2453 additions and 409 deletions
+13
View File
@@ -0,0 +1,13 @@
#pragma once
#include "types_model.hpp"
struct DetectBoxV10 {
int cls; // 0=锥 1=红灯 2=绿灯 3=行人
float conf;
float cx, cy, w, h;
};
bool model_v10_init(const char* path);
int model_v10_detect(const uint8* bgr, int w, int h, DetectBoxV10* boxes, int max, const float* thresh);
void model_v10_deinit();
bool model_v10_ready();