ultralytics 8.2.96 new results[0].to_df Pandas, XML and CSV methods (#16267)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Ultralytics Assistant <135830346+UltralyticsAssistant@users.noreply.github.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
225e6e2b25
commit
2173c37238
4 changed files with 92 additions and 5 deletions
|
|
@ -139,7 +139,7 @@ The [Ultralytics HUB](https://www.ultralytics.com/hub) Inference API returns a J
|
|||
results = model("image.jpg")
|
||||
|
||||
# Print image.jpg results in JSON format
|
||||
print(results[0].tojson())
|
||||
print(results[0].to_json())
|
||||
```
|
||||
|
||||
=== "cURL"
|
||||
|
|
@ -219,7 +219,7 @@ The [Ultralytics HUB](https://www.ultralytics.com/hub) Inference API returns a J
|
|||
results = model("image.jpg")
|
||||
|
||||
# Print image.jpg results in JSON format
|
||||
print(results[0].tojson())
|
||||
print(results[0].to_json())
|
||||
```
|
||||
|
||||
=== "cURL"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue