work on well of souls and yolo detection

This commit is contained in:
Boki 2026-02-20 16:40:50 -05:00
parent 3456e0d62a
commit 40d30115bf
41 changed files with 3031 additions and 148 deletions

View file

@ -35,7 +35,7 @@ class PythonDetectBridge : IDisposable
/// <summary>
/// Run YOLO detection on a BGR Mat. Returns parsed detection results.
/// </summary>
public DetectResponse Detect(Mat bgrMat, float conf = 0.3f, float iou = 0.45f, int imgsz = 640)
public DetectResponse Detect(Mat bgrMat, float conf = 0.3f, float iou = 0.45f, int imgsz = 640, string? model = null)
{
EnsureRunning();
@ -49,6 +49,7 @@ class PythonDetectBridge : IDisposable
["conf"] = conf,
["iou"] = iou,
["imgsz"] = imgsz,
["model"] = model,
};
return SendRequest(req);