ultralytics 8.0.148
fix SettingsManager
empty YAML bug (#4180)
This commit is contained in:
@ -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
|
||||
```
|
||||
|
Reference in New Issue
Block a user