mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 13:15:25 +03:00
apply conf th to post process
This commit is contained in:
parent
adfaa04760
commit
95c04b6244
@ -300,7 +300,9 @@ class TensorRtDetector(DetectionApi):
|
|||||||
for o in trt_outputs:
|
for o in trt_outputs:
|
||||||
detections.append(
|
detections.append(
|
||||||
yolov8_postprocess(
|
yolov8_postprocess(
|
||||||
self.input_shape[0], o.reshape(self.output_shape[0])
|
self.input_shape[0],
|
||||||
|
o.reshape(self.output_shape[0]),
|
||||||
|
score_threshold=self.conf_th,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
detections = np.concatenate(detections)
|
detections = np.concatenate(detections)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user