ultralytics 8.0.222 introduce new ultralytics.solutions (#6759)

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: Yujiao Jiang <36917338+Alex-JYJ@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
This commit is contained in:
Glenn Jocher 2023-12-03 14:59:33 +01:00 committed by GitHub
parent 63fcc2a9ff
commit d12411ec0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 22 additions and 22 deletions

View file

@ -323,7 +323,7 @@ class Results(SimpleClass):
for d in self.boxes:
save_one_box(d.xyxy,
self.orig_img.copy(),
file=Path(save_dir) / self.names[int(d.cls)] / f'{Path(file_name).stem}.jpg',
file=Path(save_dir) / self.names[int(d.cls)] / f'{Path(file_name)}.jpg',
BGR=True)
def tojson(self, normalize=False):