work on well of souls and yolo detection
This commit is contained in:
parent
3456e0d62a
commit
40d30115bf
41 changed files with 3031 additions and 148 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue