ultralytics 8.0.148 fix SettingsManager empty YAML bug (#4180)
This commit is contained in:
parent
a9fb8b239b
commit
038558cfab
7 changed files with 50 additions and 38 deletions
|
|
@ -571,7 +571,7 @@ You can use the `plot()` method of a `Result` objects to visualize predictions.
|
|||
# Show the results
|
||||
for r in results:
|
||||
im_array = r.plot() # plot a BGR numpy array of predictions
|
||||
im = Image.fromarray(im[..., ::-1]) # RGB PIL image
|
||||
im = Image.fromarray(im_array[..., ::-1]) # RGB PIL image
|
||||
im.show() # show image
|
||||
im.save('results.jpg') # save image
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue