🥥 add from_coco and as_coco to README.md
This commit is contained in:
1 parent
0d39de898a
commit
34e45bed5e
1 file changed
+10
@@ -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
|
||||
|
||||
Reference in new issue
Block a user