🥥 add `from_coco` and `as_coco` to `README.md`
This commit is contained in:
parent
0d39de898a
commit
34e45bed5e
10
README.md
10
README.md
|
|
@ -136,6 +136,11 @@ pip install -e ".[dev]"
|
|||
... images_directory_path='...',
|
||||
... annotations_directory_path='...'
|
||||
... )
|
||||
|
||||
>>> dataset = sv.DetectionDataset.from_coco(
|
||||
... images_directory_path='...',
|
||||
... annotations_path='...'
|
||||
... )
|
||||
```
|
||||
|
||||
- Loop over dataset entries
|
||||
|
|
@ -172,6 +177,11 @@ pip install -e ".[dev]"
|
|||
... images_directory_path='...',
|
||||
... annotations_directory_path='...'
|
||||
... )
|
||||
|
||||
>>> dataset.as_coco(
|
||||
... images_directory_path='...',
|
||||
... annotations_path='...'
|
||||
... )
|
||||
```
|
||||
|
||||
- Convert labels between suppoted formats
|
||||
|
|
|
|||
Loading…
Reference in New Issue