diff --git a/README.md b/README.md index 0232e631..dd044c69 100644 --- a/README.md +++ b/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