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:
parent
63fcc2a9ff
commit
d12411ec0d
6 changed files with 22 additions and 22 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue