Skip to content

Commit

Permalink
openvino: types
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed May 25, 2024
1 parent 4f60b7e commit 684961f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/openvino/src/common/yolo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 684961f

Please sign in to comment.