We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3248723 + 663522b commit 656f639Copy full SHA for 656f639
pyproject.toml
@@ -2,7 +2,7 @@
2
name = "supervision"
3
description = "A set of easy-to-use utils that will come in handy in any Computer Vision project"
4
license = { text = "MIT" }
5
-version = "0.26.0rc2"
+version = "0.26.0rc3"
6
readme = "README.md"
7
requires-python = ">=3.8"
8
authors = [
supervision/detection/core.py
@@ -1203,7 +1203,7 @@ def __getitem__(
1203
if isinstance(index, str):
1204
return self.data.get(index)
1205
if self.is_empty():
1206
- return Detections.empty()
+ return self
1207
if isinstance(index, int):
1208
index = [index]
1209
return Detections(
0 commit comments