mirror of
https://github.com/koush/scrypted.git
synced 2026-08-13 00:20:45 +01:00
openvino: types
This commit is contained in:
@@ -21,7 +21,7 @@ def parse_yolo_nas(predictions):
|
||||
return objs
|
||||
|
||||
def parse_yolov9(results, threshold = defaultThreshold, scale = None, confidence_scale = None):
|
||||
objs = []
|
||||
objs: list[Prediction] = []
|
||||
keep = np.argwhere(results[4:] > threshold)
|
||||
for indices in keep:
|
||||
class_id = indices[0]
|
||||
|
||||
Reference in New Issue
Block a user