diff --git a/README.md b/README.md index 822d7701..53e26fa2 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ ## 💻 install Pip install the supervision package in a -[**3.10>=Python>=3.7**](https://www.python.org/) environment. +[**3.11>=Python>=3.7**](https://www.python.org/) environment. ```bash pip install supervision diff --git a/setup.py b/setup.py index 21c4eab4..b8ef2774 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52,7 @@ setuptools.setup( 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3 :: Only', 'Topic :: Software Development', 'Topic :: Scientific/Engineering', diff --git a/supervision/detection/core.py b/supervision/detection/core.py index ca130f56..415185f2 100644 --- a/supervision/detection/core.py +++ b/supervision/detection/core.py @@ -6,7 +6,11 @@ from typing import Any, Iterator, List, Optional, Tuple, Union import cv2 import numpy as np -from supervision.detection.utils import non_max_suppression, xywh_to_xyxy, extract_yolov8_masks +from supervision.detection.utils import ( + extract_yolov8_masks, + non_max_suppression, + xywh_to_xyxy, +) from supervision.geometry.core import Position from supervision.internal import deprecated