Skip to content

Commit

Permalink
Fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyBoRss committed Dec 18, 2024
1 parent 035fde8 commit a55f9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inference/io_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1915,7 +1915,7 @@ def process_output(self, result, log):
predictions += prediction
valid_detections = self._non_max_supression(predictions, self._threshold, 0.4)
image = self._print_detections(valid_detections, self._labels_map, cv2.UMat(image),
scales, (orig_w, orig_h), batch, log)
scales, (orig_w, orig_h), batch, log)
out_img = os.path.join(os.path.dirname(__file__), f'out_yolo_detection_{batch + 1}.bmp')
cv2.imwrite(out_img, image)
log.info(f'Result image was saved to {out_img}')
Expand Down

0 comments on commit a55f9e3

Please sign in to comment.