Deprecated¶
These features are phased out due to better alternatives or potential issues in future versions. Deprecated functionalities are supported for five subsequent releases, providing time for users to transition to updated methods.
- The
track_buffer,track_thresh, andmatch_threshparameters inByterTrackare deprecated and will be removed insupervision-0.23.0. Uselost_track_buffer,track_activation_threshold, andminimum_matching_thresholdinstead. - The
triggering_positionparameter insv.PolygonZonewill be removed insupervision-0.23.0. Usetriggering_anchorsinstead. - The
frame_resolution_whparameter insv.PolygonZonewill be removed insupervision-0.24.0. - Constructing
DetectionDatasetandClassificationDatasetwith parameterimagesasDict[str, np.ndarray]will be removed insupervision-0.26.0. Please pass a list of pathsList[str]instead. - The
DetectionDataset.imagesproperty will be removed insupervision-0.26.0. Please loop over images withfor path, image, annotation in dataset:, as that does not require loading all images into memory. BoundingBoxAnnotatorhas been renamed toBoxAnnotatorafter the old implementation ofBoxAnnotatorhas been removed.BoundingBoxAnnotatorwill be removed insupervision-0.26.0.
Removed¶
Detections.from_froboflowis removed as ofsupervision-0.22.0. UseDetections.from_inferenceinstead.- The method
Color.white()was removed as ofsupervision-0.22.0. Use the constantColor.WHITEinstead. - The method
Color.black()was removed as ofsupervision-0.22.0. Use the constantColor.BLACKinstead. - The method
Color.red()was removed as ofsupervision-0.22.0. Use the constantColor.REDinstead. - The method
Color.green()was removed as ofsupervision-0.22.0. Use the constantColor.GREENinstead. - The method
Color.blue()was removed as ofsupervision-0.22.0. Use the constantColor.BLUEinstead. - The method
ColorPalette.default()was removed as ofsupervision-0.22.0. Use the constantColorPalette.DEFAULTinstead. BoxAnnotatorwas removed as ofsupervision-0.22.0, howeverBoundingBoxAnnotatorwas immediately renamed toBoxAnnotator. UseBoxAnnotatorandLabelAnnotatorinstead of the oldBoxAnnotator.- The method
FPSMonitor.__call__was removed as ofsupervision-0.22.0. Use the attributeFPSMonitor.fpsinstead.