feat: add low-light brightness gate

This commit is contained in:
zmv
2026-10-09 16:02:15 +08:00
parent 4eff3825be
commit 69d565fda5
18 changed files with 319 additions and 26 deletions
+3 -2
View File
@@ -5,8 +5,9 @@
namespace cms {
class CameraPipeline;
// Pure drawing from the immutable result. Never re-runs inference.
cv::Mat renderResult(FrameResult const& result,CanSnapshot const* liveCan=nullptr);
cv::Mat renderResult(FrameResult const& result,CanSnapshot const* liveCan=nullptr,bool drawText=true);
cv::Mat renderVisualization(FrameResult const& result,CanSnapshot const& liveCan);
void renderCanOverlay(cv::Mat& image,CanSnapshot const& can);
// Optional observer: closing the window returns without stopping the pipeline.
void runLocalVisualization(CameraPipeline const& pipeline);
void runLocalVisualization(CameraPipeline const& pipeline, bool keepFinalFrame = false);
}