0.10.0
版本发布时间: 2023-06-14 22:52:55
roboflow/supervision最新发布版本:0.24.0(2024-10-05 04:25:47)
🚀 Added
- Ability to load and save
sv.ClassificationDataset
in a folder structure format. (https://github.com/roboflow/supervision/pull/125)
>>> import supervision as sv
>>> cs = sv.ClassificationDataset.from_folder_structure(
... root_directory_path='...'
... )
>>> cs.as_folder_structure(
... root_directory_path='...'
... )
- Support for
sv.ClassificationDataset.split
allowing to dividesv.ClassificationDataset
into two parts. (https://github.com/roboflow/supervision/pull/125)
>>> import supervision as sv
>>> cs = sv.ClassificationDataset(...)
>>> train_cs, test_cs = cs.split(split_ratio=0.7, random_state=42, shuffle=True)
>>> len(train_cs), len(test_cs)
(700, 300)
-
Ability to extract masks from Roboflow API results using
sv.Detections.from_roboflow
. (https://github.com/roboflow/supervision/pull/110) -
Supervision Quickstart notebook where you can learn more about Detection, Dataset and Video APIs.
🌱 Changed
-
sv.get_video_frames_generator
documentation to better describe actual behavior. (https://github.com/roboflow/supervision/pull/135)
🏆 Contributors
@capjamesg @dankresio @SkalskiP