diff --git a/ultralytics/engine/results.py b/ultralytics/engine/results.py index cda3d852..b35f278a 100644 --- a/ultralytics/engine/results.py +++ b/ultralytics/engine/results.py @@ -583,7 +583,7 @@ class Results(SimpleClass): if save: annotator.save(filename) - return annotator.result() + return annotator.im if pil else annotator.result() def show(self, *args, **kwargs): """