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:
MatthewNoyce 2024-09-18 10:53:33 +01:00 committed by GitHub
parent 225e6e2b25
commit 2173c37238
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 92 additions and 5 deletions

View file

@ -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"