Deprecated

These features are phased out due to better alternatives or potential issues in future versions. Deprecated functionalities are supported for three subsequent releases, providing time for users to transition to updated methods.

  • Detections.from_froboflow is deprecated and will be removed in supervision-0.22.0. Use Detections.from_inference instead.
  • The method Color.white() is deprecated and will be removed in supervision-0.22.0. Use the constant Color.WHITE instead.
  • The method Color.black() is deprecated and will be removed in supervision-0.22.0. Use the constant Color.BLACK instead.
  • The method Color.red() is deprecated and will be removed in supervision-0.22.0. Use the constant Color.RED instead.
  • The method Color.green() is deprecated and will be removed in supervision-0.22.0. Use the constant Color.GREEN instead.
  • The method Color.blue() is deprecated and will be removed in supervision-0.22.0. Use the constant Color.BLUE instead.
  • The method ColorPalette.default() is deprecated and will be removed in supervision-0.22.0. Use the constant ColorPalette.DEFAULT instead.
  • BoxAnnotator is deprecated and will be removed in supervision-0.22.0. Use BoundingBoxAnnotator and LabelAnnotator instead.
  • The method FPSMonitor.__call__ is deprecated and will be removed in supervision-0.22.0. Use the attribute FPSMonitor.fps instead.
  • The track_buffer, track_thresh, and match_thresh parameters in ByterTrack are deprecated and will be removed in supervision-0.23.0. Use lost_track_buffer, track_activation_threshold, and minimum_matching_threshold instead.
  • The triggering_position parameter in sv.PolygonZone is deprecated and will be removed in supervision-0.23.0. Use triggering_anchors instead.
  • The frame_resolution_wh parameter in sv.PolygonZone is deprecated and will be removed in supervision-0.24.0.

Comments