superiorvision 0.30.0.dev0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. superiorvision/__init__.py +19 -0
  2. superiorvision-0.30.0.dev0.dist-info/METADATA +398 -0
  3. superiorvision-0.30.0.dev0.dist-info/RECORD +96 -0
  4. superiorvision-0.30.0.dev0.dist-info/WHEEL +5 -0
  5. superiorvision-0.30.0.dev0.dist-info/licenses/LICENSE.md +9 -0
  6. superiorvision-0.30.0.dev0.dist-info/top_level.txt +2 -0
  7. supervision/__init__.py +318 -0
  8. supervision/annotators/__init__.py +0 -0
  9. supervision/annotators/base.py +21 -0
  10. supervision/annotators/core.py +3551 -0
  11. supervision/annotators/utils.py +541 -0
  12. supervision/assets/__init__.py +4 -0
  13. supervision/assets/downloader.py +166 -0
  14. supervision/assets/list.py +84 -0
  15. supervision/classification/__init__.py +0 -0
  16. supervision/classification/core.py +216 -0
  17. supervision/config.py +13 -0
  18. supervision/dataset/__init__.py +0 -0
  19. supervision/dataset/core.py +1313 -0
  20. supervision/dataset/formats/__init__.py +0 -0
  21. supervision/dataset/formats/coco.py +708 -0
  22. supervision/dataset/formats/createml.py +331 -0
  23. supervision/dataset/formats/labelme.py +405 -0
  24. supervision/dataset/formats/pascal_voc.py +449 -0
  25. supervision/dataset/formats/yolo.py +502 -0
  26. supervision/dataset/utils.py +265 -0
  27. supervision/detection/__init__.py +0 -0
  28. supervision/detection/compact_mask.py +1927 -0
  29. supervision/detection/core.py +3864 -0
  30. supervision/detection/line_zone.py +924 -0
  31. supervision/detection/overlap_filter.py +426 -0
  32. supervision/detection/tensor_utils.py +1596 -0
  33. supervision/detection/tensor_views.py +48 -0
  34. supervision/detection/tools/__init__.py +0 -0
  35. supervision/detection/tools/csv_sink.py +242 -0
  36. supervision/detection/tools/inference_slicer.py +776 -0
  37. supervision/detection/tools/json_sink.py +215 -0
  38. supervision/detection/tools/polygon_zone.py +266 -0
  39. supervision/detection/tools/smoother.py +218 -0
  40. supervision/detection/tools/transformers.py +265 -0
  41. supervision/detection/utils/__init__.py +12 -0
  42. supervision/detection/utils/_typing.py +11 -0
  43. supervision/detection/utils/boxes.py +510 -0
  44. supervision/detection/utils/converters.py +830 -0
  45. supervision/detection/utils/internal.py +806 -0
  46. supervision/detection/utils/iou_and_nms.py +1606 -0
  47. supervision/detection/utils/masks.py +625 -0
  48. supervision/detection/utils/polygons.py +128 -0
  49. supervision/detection/utils/vlms.py +97 -0
  50. supervision/detection/vlm.py +945 -0
  51. supervision/draw/__init__.py +0 -0
  52. supervision/draw/base.py +14 -0
  53. supervision/draw/color.py +598 -0
  54. supervision/draw/utils.py +527 -0
  55. supervision/geometry/__init__.py +0 -0
  56. supervision/geometry/core.py +208 -0
  57. supervision/geometry/utils.py +54 -0
  58. supervision/key_points/__init__.py +0 -0
  59. supervision/key_points/annotators.py +997 -0
  60. supervision/key_points/core.py +1506 -0
  61. supervision/key_points/skeletons.py +2646 -0
  62. supervision/keypoint/__init__.py +13 -0
  63. supervision/keypoint/annotators.py +13 -0
  64. supervision/keypoint/core.py +8 -0
  65. supervision/metrics/__init__.py +40 -0
  66. supervision/metrics/core.py +74 -0
  67. supervision/metrics/detection.py +1632 -0
  68. supervision/metrics/f1_score.py +815 -0
  69. supervision/metrics/mean_average_precision.py +1723 -0
  70. supervision/metrics/mean_average_recall.py +734 -0
  71. supervision/metrics/precision.py +815 -0
  72. supervision/metrics/recall.py +774 -0
  73. supervision/metrics/utils/__init__.py +0 -0
  74. supervision/metrics/utils/matching.py +56 -0
  75. supervision/metrics/utils/object_size.py +256 -0
  76. supervision/metrics/utils/utils.py +9 -0
  77. supervision/py.typed +0 -0
  78. supervision/tracker/__init__.py +5 -0
  79. supervision/tracker/byte_tracker/__init__.py +0 -0
  80. supervision/tracker/byte_tracker/core.py +448 -0
  81. supervision/tracker/byte_tracker/kalman_filter.py +186 -0
  82. supervision/tracker/byte_tracker/matching.py +211 -0
  83. supervision/tracker/byte_tracker/single_object_track.py +194 -0
  84. supervision/tracker/byte_tracker/utils.py +34 -0
  85. supervision/utils/__init__.py +0 -0
  86. supervision/utils/conversion.py +223 -0
  87. supervision/utils/deprecate.py +54 -0
  88. supervision/utils/file.py +209 -0
  89. supervision/utils/image.py +988 -0
  90. supervision/utils/internal.py +209 -0
  91. supervision/utils/iterables.py +103 -0
  92. supervision/utils/logger.py +61 -0
  93. supervision/utils/notebook.py +124 -0
  94. supervision/utils/tensor.py +362 -0
  95. supervision/utils/video.py +533 -0
  96. supervision/validators/__init__.py +379 -0
@@ -0,0 +1,19 @@
1
+ """Named import alias for the tensor-native Supervision fork.
2
+
3
+ ``import supervision as sv`` remains supported for an unmodified inference
4
+ codebase. New consumers may instead use ``import superiorvision as sv``.
5
+ """
6
+
7
+ import supervision as _supervision
8
+
9
+ __all__ = _supervision.__all__
10
+ __version__ = _supervision.__version__
11
+
12
+
13
+ def __getattr__(name: str):
14
+ """Forward the named fork import to the compatible ``supervision`` API."""
15
+ return getattr(_supervision, name)
16
+
17
+
18
+ def __dir__() -> list[str]:
19
+ return sorted(set(globals()) | set(dir(_supervision)))
@@ -0,0 +1,398 @@
1
+ Metadata-Version: 2.4
2
+ Name: superiorvision
3
+ Version: 0.30.0.dev0
4
+ Summary: A tensor-native, inference-focused fork of Supervision
5
+ Author-email: "Roboflow et al." <develop@roboflow.com>
6
+ Maintainer-email: Piotr Skalski <piotr@roboflow.com>
7
+ License-Expression: MIT
8
+ Project-URL: Documentation, https://supervision.roboflow.com/latest/
9
+ Project-URL: Homepage, https://github.com/roboflow/supervision
10
+ Project-URL: Repository, https://github.com/roboflow/supervision
11
+ Keywords: AI,deep-learning,DL,machine-learning,ML,Roboflow,vision
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: Education
15
+ Classifier: Intended Audience :: Science/Research
16
+ Classifier: Operating System :: MacOS
17
+ Classifier: Operating System :: Microsoft :: Windows
18
+ Classifier: Operating System :: POSIX :: Linux
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Topic :: Multimedia :: Graphics
26
+ Classifier: Topic :: Multimedia :: Video
27
+ Classifier: Topic :: Scientific/Engineering
28
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
29
+ Classifier: Topic :: Scientific/Engineering :: Image Recognition
30
+ Classifier: Topic :: Software Development
31
+ Classifier: Typing :: Typed
32
+ Requires-Python: >=3.10
33
+ Description-Content-Type: text/markdown
34
+ License-File: LICENSE.md
35
+ Requires-Dist: defusedxml>=0.7.1
36
+ Requires-Dist: matplotlib>=3.6
37
+ Requires-Dist: numpy>=1.21.2
38
+ Requires-Dist: opencv-python>=4.5.5.64
39
+ Requires-Dist: pillow>=9.4
40
+ Requires-Dist: pydeprecate<0.11,>=0.9
41
+ Requires-Dist: pyyaml>=5.3
42
+ Requires-Dist: requests>=2.26
43
+ Requires-Dist: scipy>=1.10
44
+ Requires-Dist: torch<3,>=2
45
+ Requires-Dist: tqdm>=4.62.3
46
+ Provides-Extra: geotiff
47
+ Requires-Dist: rasterio>=1.3; extra == "geotiff"
48
+ Provides-Extra: metrics
49
+ Requires-Dist: pandas>=2; extra == "metrics"
50
+ Dynamic: license-file
51
+
52
+ <div align="center">
53
+ <p>
54
+ <a align="center" href="https://supervision.roboflow.com" target="_blank">
55
+ <img
56
+ width="100%"
57
+ src="https://media.roboflow.com/open-source/supervision/rf-supervision-banner.png?updatedAt=1678995927529"
58
+ >
59
+ </a>
60
+ </p>
61
+
62
+ > Supervision, except the numbers have finally been informed that GPUs exist.
63
+
64
+ SuperiorVision is Roboflow's tensor-native, inference-focused fork of
65
+ [Supervision](https://github.com/roboflow/supervision). It preserves the
66
+ `import supervision as sv` API used by
67
+ [Roboflow Inference](https://github.com/roboflow/inference), while keeping
68
+ rectangular numeric state in `torch.Tensor` objects throughout the supported
69
+ code paths.
70
+
71
+ If detections begin as tensors, converting them to NumPy so the next operation
72
+ can turn them back into tensors is not "compatibility." It is cardio.
73
+ SuperiorVision declines the workout.
74
+
75
+ [![version](https://badge.fury.io/py/supervision.svg)](https://badge.fury.io/py/supervision) [![downloads](https://img.shields.io/pypi/dm/supervision)](https://pypistats.org/packages/supervision) [![license](https://img.shields.io/pypi/l/supervision)](LICENSE.md) [![python-version](https://img.shields.io/pypi/pyversions/supervision)](https://badge.fury.io/py/supervision) [![codecov](https://codecov.io/gh/roboflow/supervision/graph/badge.svg?token=HMNJ5FVZ36)](https://codecov.io/gh/roboflow/supervision)
76
+
77
+ [![snyk](https://snyk.io/advisor/python/supervision/badge.svg)](https://snyk.io/advisor/python/supervision) [![colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/roboflow/supervision/blob/main/demo.ipynb) [![gradio](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue)](https://huggingface.co/spaces/Roboflow/Annotators) [![discord](https://img.shields.io/discord/1159501506232451173?logo=discord&label=discord&labelColor=fff&color=5865f2&link=https%3A%2F%2Fdiscord.gg%2FGbfgXGJ8Bk)](https://discord.gg/GbfgXGJ8Bk)
78
+
79
+ <div align="center">
80
+ <a href="https://trendshift.io/repositories/124" target="_blank"><img src="https://trendshift.io/api/badge/repositories/124" alt="roboflow%2Fsupervision | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
81
+ </div>
82
+
83
+ Same API. Fewer NumPy vacations.
84
+
85
+ For the external multi-object trackers used by Inference, pair SuperiorVision
86
+ with the private [Tracktors](https://github.com/roboflow/tracktors) fork. The
87
+ dependency points one way—Tracktors consumes tensor-native `sv.Detections`—so
88
+ SuperiorVision keeps its existing `sv.ByteTrack` compatibility API without a
89
+ circular package dependency.
90
+
91
+ <details>
92
+ <summary><strong>📑 Table of Contents</strong></summary>
93
+
94
+ - [👋 Hello](#-hello)
95
+ - [💻 Install](#-install)
96
+ - [🔥 Quickstart](#-quickstart)
97
+ - [Models](#models)
98
+ - [Annotators](#annotators)
99
+ - [Datasets](#datasets)
100
+ - [🎬 Tutorials](#-tutorials)
101
+ - [💜 Built with Supervision](#-built-with-supervision)
102
+ - [📚 Documentation](#-documentation)
103
+ - [🏆 Contribution](#-contribution)
104
+
105
+ </details>
106
+
107
+ ## 👋 Hello
108
+
109
+ **We are your essential toolkit for computer vision.** From data loading to real-time zone counting, we provide the building blocks so you can focus on building applications around your models. 🤝
110
+
111
+ ## 💻 Install
112
+
113
+ Pip install the supervision package in a [**Python>=3.10**](https://www.python.org/) environment.
114
+
115
+ ```bash
116
+ git clone git@github.com:roboflow/superiorvision.git
117
+ cd superiorvision
118
+ pip install -e .
119
+ ```
120
+
121
+ Both imports are supported:
122
+
123
+ ```python
124
+ import supervision as sv # existing Inference code
125
+ import superiorvision as sv # cheekier spelling, same API
126
+ ```
127
+
128
+ Because SuperiorVision provides the `supervision` namespace, install it as a
129
+ replacement for upstream Supervision, not beside it. Two packages cannot both
130
+ own the same trench coat and pretend everything is fine.
131
+
132
+ The upstream documentation below remains useful for the compatible API surface.
133
+
134
+ ## 🔥 Quickstart
135
+
136
+ ### Models
137
+
138
+ Supervision was designed to be model agnostic. Just plug in any classification, detection, or segmentation model. For your convenience, we have created [connectors](https://supervision.roboflow.com/latest/detection/core/#detections) for the most popular libraries like Ultralytics, Transformers, MMDetection, or Inference. Other integrations, like `rfdetr`, already return `sv.Detections` directly.
139
+
140
+ Install the optional dependencies for this example with `pip install pillow rfdetr`.
141
+
142
+ ```python
143
+ import supervision as sv
144
+ from PIL import Image
145
+ from rfdetr import RFDETRSmall
146
+
147
+ image = Image.open("path/to/image.jpg")
148
+ model = RFDETRSmall()
149
+ detections = model.predict(image, threshold=0.5)
150
+
151
+ len(detections)
152
+ # 5
153
+ ```
154
+
155
+ <details>
156
+ <summary>👉 more model connectors</summary>
157
+
158
+ - inference
159
+
160
+ Running with [Inference](https://github.com/roboflow/inference) requires a [Roboflow API KEY](https://docs.roboflow.com/api-reference/authentication#retrieve-an-api-key).
161
+
162
+ ```python
163
+ import supervision as sv
164
+ from PIL import Image
165
+ from inference import get_model
166
+
167
+ image = Image.open("path/to/image.jpg")
168
+ model = get_model(model_id="rfdetr-small", api_key="ROBOFLOW_API_KEY")
169
+ result = model.infer(image)[0]
170
+ detections = sv.Detections.from_inference(result)
171
+
172
+ len(detections)
173
+ # 5
174
+ ```
175
+
176
+ </details>
177
+
178
+ ### Annotators
179
+
180
+ Supervision offers a wide range of highly customizable [annotators](https://supervision.roboflow.com/latest/detection/annotators/), allowing you to compose the perfect visualization for your use case.
181
+
182
+ ```python
183
+ import cv2
184
+ import supervision as sv
185
+
186
+ image = cv2.imread("path/to/image.jpg")
187
+ # Assuming detections are obtained from a model
188
+ detections = sv.Detections(...)
189
+
190
+ box_annotator = sv.BoxAnnotator()
191
+ annotated_frame = box_annotator.annotate(scene=image.copy(), detections=detections)
192
+ ```
193
+
194
+ https://github.com/roboflow/supervision/assets/26109316/691e219c-0565-4403-9218-ab5644f39bce
195
+
196
+ ### Datasets
197
+
198
+ Supervision provides a set of [utils](https://supervision.roboflow.com/latest/datasets/core/) that allow you to load, split, merge, and save datasets in one of the supported formats.
199
+
200
+ ```python
201
+ import supervision as sv
202
+ from roboflow import Roboflow
203
+
204
+ project = Roboflow().workspace("WORKSPACE_ID").project("PROJECT_ID")
205
+ dataset = project.version("PROJECT_VERSION").download("coco")
206
+
207
+ ds = sv.DetectionDataset.from_coco(
208
+ images_directory_path=f"{dataset.location}/train",
209
+ annotations_path=f"{dataset.location}/train/_annotations.coco.json",
210
+ )
211
+
212
+ path, image, annotation = ds[0]
213
+ # loads image on demand
214
+
215
+ for path, image, annotation in ds:
216
+ # loads image on demand
217
+ pass
218
+ ```
219
+
220
+ <details>
221
+ <summary>👉 more dataset utils</summary>
222
+
223
+ - load
224
+
225
+ ```python
226
+ dataset = sv.DetectionDataset.from_yolo(
227
+ images_directory_path=...,
228
+ annotations_directory_path=...,
229
+ data_yaml_path=...,
230
+ )
231
+
232
+ dataset = sv.DetectionDataset.from_pascal_voc(
233
+ images_directory_path=...,
234
+ annotations_directory_path=...,
235
+ )
236
+
237
+ dataset = sv.DetectionDataset.from_coco(
238
+ images_directory_path=...,
239
+ annotations_path=...,
240
+ )
241
+ ```
242
+
243
+ - split
244
+
245
+ ```python
246
+ train_dataset, test_dataset = dataset.split(split_ratio=0.7)
247
+ test_dataset, valid_dataset = test_dataset.split(split_ratio=0.5)
248
+
249
+ len(train_dataset), len(test_dataset), len(valid_dataset)
250
+ # (700, 150, 150)
251
+ ```
252
+
253
+ - merge
254
+
255
+ ```python
256
+ ds_1 = sv.DetectionDataset(...)
257
+ len(ds_1)
258
+ # 100
259
+ ds_1.classes
260
+ # ['dog', 'person']
261
+
262
+ ds_2 = sv.DetectionDataset(...)
263
+ len(ds_2)
264
+ # 200
265
+ ds_2.classes
266
+ # ['cat']
267
+
268
+ ds_merged = sv.DetectionDataset.merge([ds_1, ds_2])
269
+ len(ds_merged)
270
+ # 300
271
+ ds_merged.classes
272
+ # ['cat', 'dog', 'person']
273
+ ```
274
+
275
+ - save
276
+
277
+ ```python
278
+ dataset.as_yolo(
279
+ images_directory_path=...,
280
+ annotations_directory_path=...,
281
+ data_yaml_path=...,
282
+ )
283
+
284
+ dataset.as_pascal_voc(
285
+ images_directory_path=...,
286
+ annotations_directory_path=...,
287
+ )
288
+
289
+ dataset.as_coco(
290
+ images_directory_path=...,
291
+ annotations_path=...,
292
+ )
293
+ ```
294
+
295
+ - convert
296
+
297
+ ```python
298
+ sv.DetectionDataset.from_yolo(
299
+ images_directory_path=...,
300
+ annotations_directory_path=...,
301
+ data_yaml_path=...,
302
+ ).as_pascal_voc(
303
+ images_directory_path=...,
304
+ annotations_directory_path=...,
305
+ )
306
+ ```
307
+
308
+ </details>
309
+
310
+ ## 🎬 Tutorials
311
+
312
+ Want to learn how to use Supervision? Explore our [how-to guides](https://supervision.roboflow.com/develop/how_to/detect_and_annotate/), [end-to-end examples](./examples), [cheatsheet](https://roboflow.github.io/cheatsheet-supervision/), and [cookbooks](https://supervision.roboflow.com/develop/cookbooks/)!
313
+
314
+ <br/>
315
+
316
+ <p align="left">
317
+ <a href="https://youtu.be/hAWpsIuem10" title="Dwell Time Analysis with Computer Vision | Real-Time Stream Processing"><img src="https://github.com/user-attachments/assets/014cffc7-72b3-4c0a-bb89-6de265b2c06b" alt="Dwell Time Analysis with Computer Vision | Real-Time Stream Processing" width="300px" align="left" /></a>
318
+ <a href="https://youtu.be/hAWpsIuem10" title="Dwell Time Analysis with Computer Vision | Real-Time Stream Processing"><strong>Dwell Time Analysis with Computer Vision | Real-Time Stream Processing</strong></a>
319
+ <div><strong>Created: 5 Apr 2024</strong></div>
320
+ <br/>Learn how to use computer vision to analyze wait times and optimize processes. This tutorial covers object detection, tracking, and calculating time spent in designated zones. Use these techniques to improve customer experience in retail, traffic management, or other scenarios.</p>
321
+
322
+ <br/>
323
+
324
+ <p align="left">
325
+ <a href="https://youtu.be/uWP6UjDeZvY" title="Speed Estimation & Vehicle Tracking | Computer Vision | Open Source"><img src="https://github.com/user-attachments/assets/b16b8e21-dc6c-4a73-a678-2f7d5d374793" alt="Speed Estimation & Vehicle Tracking | Computer Vision | Open Source" width="300px" align="left" /></a>
326
+ <a href="https://youtu.be/uWP6UjDeZvY" title="Speed Estimation & Vehicle Tracking | Computer Vision | Open Source"><strong>Speed Estimation & Vehicle Tracking | Computer Vision | Open Source</strong></a>
327
+ <div><strong>Created: 11 Jan 2024</strong></div>
328
+ <br/>Learn how to track and estimate the speed of vehicles using YOLO, ByteTrack, and Roboflow Inference. This comprehensive tutorial covers object detection, multi-object tracking, filtering detections, perspective transformation, speed estimation, visualization improvements, and more.</p>
329
+
330
+ ## 💜 Built with Supervision
331
+
332
+ Did you build something cool using supervision? [Let us know!](https://github.com/roboflow/supervision/discussions/categories/built-with-supervision)
333
+
334
+ https://user-images.githubusercontent.com/26109316/207858600-ee862b22-0353-440b-ad85-caa0c4777904.mp4
335
+
336
+ https://github.com/roboflow/supervision/assets/26109316/c9436828-9fbf-4c25-ae8c-60e9c81b3900
337
+
338
+ https://github.com/roboflow/supervision/assets/26109316/3ac6982f-4943-4108-9b7f-51787ef1a69f
339
+
340
+ ## 📚 Documentation
341
+
342
+ Visit our [documentation](https://roboflow.github.io/supervision) page to learn how supervision can help you build computer vision applications faster and more reliably.
343
+
344
+ ## 🏆 Contribution
345
+
346
+ We love your input! Please see our [contributing guide](.github/CONTRIBUTING.md) to get started. Thank you 🙏 to all our contributors!
347
+
348
+ <p align="center">
349
+ <a href="https://github.com/roboflow/supervision/graphs/contributors">
350
+ <img src="https://contrib.rocks/image?repo=roboflow/supervision" />
351
+ </a>
352
+ </p>
353
+
354
+ <br>
355
+
356
+ <div align="center">
357
+ <a href="https://youtube.com/roboflow">
358
+ <img
359
+ src="https://media.roboflow.com/notebooks/template/icons/purple/youtube.png?ik-sdk-version=javascript-1.4.3&updatedAt=1672949634652"
360
+ width="3%"
361
+ />
362
+ </a>
363
+ <img src="https://raw.githubusercontent.com/ultralytics/assets/main/social/logo-transparent.png" width="3%"/>
364
+ <a href="https://roboflow.com">
365
+ <img
366
+ src="https://media.roboflow.com/notebooks/template/icons/purple/roboflow-app.png?ik-sdk-version=javascript-1.4.3&updatedAt=1672949746649"
367
+ width="3%"
368
+ />
369
+ </a>
370
+ <img src="https://raw.githubusercontent.com/ultralytics/assets/main/social/logo-transparent.png" width="3%"/>
371
+ <a href="https://www.linkedin.com/company/roboflow-ai/">
372
+ <img
373
+ src="https://media.roboflow.com/notebooks/template/icons/purple/linkedin.png?ik-sdk-version=javascript-1.4.3&updatedAt=1672949633691"
374
+ width="3%"
375
+ />
376
+ </a>
377
+ <img src="https://raw.githubusercontent.com/ultralytics/assets/main/social/logo-transparent.png" width="3%"/>
378
+ <a href="https://docs.roboflow.com">
379
+ <img
380
+ src="https://media.roboflow.com/notebooks/template/icons/purple/knowledge.png?ik-sdk-version=javascript-1.4.3&updatedAt=1672949634511"
381
+ width="3%"
382
+ />
383
+ </a>
384
+ <img src="https://raw.githubusercontent.com/ultralytics/assets/main/social/logo-transparent.png" width="3%"/>
385
+ <a href="https://discuss.roboflow.com">
386
+ <img
387
+ src="https://media.roboflow.com/notebooks/template/icons/purple/forum.png?ik-sdk-version=javascript-1.4.3&updatedAt=1672949633584"
388
+ width="3%"
389
+ />
390
+ </a>
391
+ <img src="https://raw.githubusercontent.com/ultralytics/assets/main/social/logo-transparent.png" width="3%"/>
392
+ <a href="https://blog.roboflow.com">
393
+ <img
394
+ src="https://media.roboflow.com/notebooks/template/icons/purple/blog.png?ik-sdk-version=javascript-1.4.3&updatedAt=1672949633605"
395
+ width="3%"
396
+ />
397
+ </a>
398
+ </div>
@@ -0,0 +1,96 @@
1
+ superiorvision/__init__.py,sha256=B-zWre9gKwO8C6NC4Q84U7OZCnr8C-qdDYwvZKOF1Sw,559
2
+ superiorvision-0.30.0.dev0.dist-info/licenses/LICENSE.md,sha256=crsAn5Yzr5eNpsSfOpJ6g9BN347ZkkkvbypiEi3pUic,1065
3
+ supervision/__init__.py,sha256=cUqJ09gej1bc1YHqnlKcC7BCTPhzgmDbOJphvag6M_g,8304
4
+ supervision/config.py,sha256=UoK7uiiTOQTYr6ILPya85leKkjy-lT1tJ2xzb0-M2ow,722
5
+ supervision/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ supervision/annotators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ supervision/annotators/base.py,sha256=5NwXexOrZnrVWzTXx32DY2PTjguBEk14i4IyweD4MOg,571
8
+ supervision/annotators/core.py,sha256=9uGILnWxdZ3WvppzRrasJN3DfWVcnh1e9rfXfUX-8vY,132349
9
+ supervision/annotators/utils.py,sha256=ILANp12BfWc2iBYNhvKNN0E-NWdB0V_j904XFkT4uSY,17574
10
+ supervision/assets/__init__.py,sha256=oaFsA_n7Ah8kaH7PevI2u-Ra4-eAQo0MV_8EGNR-Lww,180
11
+ supervision/assets/downloader.py,sha256=AcQD1BmEIfXjiyvUx1gRbLY5Pdy-lS8GDfvM74U8qDA,5246
12
+ supervision/assets/list.py,sha256=WtlHibdQVuqvOUUvsWDyVIiabGTVhgY-MgGOYyGio8w,4553
13
+ supervision/classification/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
+ supervision/classification/core.py,sha256=llvgSv8kS_ZAsLOVbRV1R2yea6QNxKcOL2BRofwilN8,6817
15
+ supervision/dataset/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ supervision/dataset/core.py,sha256=JLHEP-YwCgmVQG922cQGjj8o8Vo8jmQKuvhnsdAMe14,50040
17
+ supervision/dataset/utils.py,sha256=NgielsoTPQ3l2a9pH09zL5lvpeVpnqotU5s010WgURM,9119
18
+ supervision/dataset/formats/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
+ supervision/dataset/formats/coco.py,sha256=2UJwuSZAbUTahLR6uaj-KXjCEDXR2dfhUZ--dThsH_g,28382
20
+ supervision/dataset/formats/createml.py,sha256=0ah5OIA6WlVSZ3-ovHanJbs00masyePF9HaY5WpF1XY,12570
21
+ supervision/dataset/formats/labelme.py,sha256=_YUxfkb0y87iyF6_X1wyYJpFXD340kAf-6pSvarUg4U,14855
22
+ supervision/dataset/formats/pascal_voc.py,sha256=Or7uj8ojGkky326l1H5Sag9Mv3KH8w8_hy8rn7pV-CU,16072
23
+ supervision/dataset/formats/yolo.py,sha256=F7HZxY56zpRSXS96Cw7uxjkYqmEnoDgCmIvYHlFjGVM,19263
24
+ supervision/detection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
+ supervision/detection/compact_mask.py,sha256=H2el5TurYLCFdSVFlEcZL5cqeLAKtqoVzbBLMgng8Sg,75168
26
+ supervision/detection/core.py,sha256=132w7xGj3gzMUIeA5jw54nFbNOc1s49KmqlM8rkCk14,146869
27
+ supervision/detection/line_zone.py,sha256=y-TJxEnM173shoMt9Zx0P711ukf6JG0PoP1fOK12MtA,33302
28
+ supervision/detection/overlap_filter.py,sha256=jVt3zdVEMGQ-bZs6YWbGPsdwPjbC8R-8ooUez5eQ6JU,16171
29
+ supervision/detection/tensor_utils.py,sha256=puDJ3tFoMUgWJxK56pcJRHbJCOrQ6WKoIx1-4ds1TvU,57065
30
+ supervision/detection/tensor_views.py,sha256=c5frtdlU9KigjGKJimmUEA56FdKsM9wesflcHwjJuds,1301
31
+ supervision/detection/vlm.py,sha256=_Z9vdEDJy1_5G2yr6hYPT1Z0dFX4LP1OMz9yAdpGrHg,33131
32
+ supervision/detection/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
+ supervision/detection/tools/csv_sink.py,sha256=HF9WblP0wX8aL6SFVst87amRxk7axuBED3NpQ_H97p8,8217
34
+ supervision/detection/tools/inference_slicer.py,sha256=nzR_NSrh0MpqoLb564hHwUJBLUxpxxXYj3YVXeGvSz0,33467
35
+ supervision/detection/tools/json_sink.py,sha256=aytcr1K90nT2RzNOdo0aYmuw5xNtQ3MaM4WPU5HIqwE,7657
36
+ supervision/detection/tools/polygon_zone.py,sha256=mQGy0gKhu8xdiZ3mR4Nb6pFdFCDE-YBDxlHR4uJBKOI,10098
37
+ supervision/detection/tools/smoother.py,sha256=wJeiKqJjqGSACj8xRNeq5cjmHRVGxEzYrYORBGX1t2Q,8205
38
+ supervision/detection/tools/transformers.py,sha256=oc7UabVEIUMdC62g9RwxkYy4sKM3VPIIStk5fKbiNhk,10110
39
+ supervision/detection/utils/__init__.py,sha256=VogJQQ9NhhR3fuvLKkaKBX4TEsYJRQv4ojOBOudhVTM,493
40
+ supervision/detection/utils/_typing.py,sha256=dUgRRXk50mr7eZajCGV6nUuAzp733hwgp-OlzPPDYgQ,300
41
+ supervision/detection/utils/boxes.py,sha256=KoFeZdU-BAbSCTmAVNDEc6GnNDku37coC5v-XfpRwOg,17159
42
+ supervision/detection/utils/converters.py,sha256=HjkKu033z9HdRDcGtoOhc1jwIQp7o2LYCZU2tWL1oQU,27634
43
+ supervision/detection/utils/internal.py,sha256=F_vn82aQeTozI-DW4Wz0lyaED9RpdO7rnCNXWAdtJ94,31173
44
+ supervision/detection/utils/iou_and_nms.py,sha256=-rMjuX_pW_kV8EibQ0-z6L0d--F1fyAhrWESWIXqOfc,62777
45
+ supervision/detection/utils/masks.py,sha256=gpKknDk2oUsTdHdBsJt5-6QsjOa6Sr8uWatY-8Qr_lk,22652
46
+ supervision/detection/utils/polygons.py,sha256=IiPx2_kWpNhSTgK6vf2xiZ00uKeB9sYPhRX7w4iAPP4,4822
47
+ supervision/detection/utils/vlms.py,sha256=NlmiM2zDR_GUdw1hFT53NCiNwI4WRKf5qBVG8UCG9Lg,3018
48
+ supervision/draw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
+ supervision/draw/base.py,sha256=N4lHOr-t-5u0tJ8wTefXAQDPh9_3glU-L2qXLLj25UY,420
50
+ supervision/draw/color.py,sha256=POJUJhm2RRRHZ7kxyD8V6CndeBmQhsZzz8ACGOD7dVg,17209
51
+ supervision/draw/utils.py,sha256=T2N6CpGpEreXFVrt5kIKSqhX4cLmK3WGtoSKJp5pu4M,16012
52
+ supervision/geometry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
+ supervision/geometry/core.py,sha256=DMe_thCf9Hu49os9Z-CjOZEIxLPOW-8HZNdvjCtlA7g,5653
54
+ supervision/geometry/utils.py,sha256=2UD0BAg8KOoEKdU10UvwZzbzhdNfRrJdSONzd0tNJnU,1648
55
+ supervision/key_points/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
+ supervision/key_points/annotators.py,sha256=zvUbuZtQAuYfrAZH1al24xcSdM5mJMWocuecdt9EgAY,37666
57
+ supervision/key_points/core.py,sha256=T9tX9ugnjsCjGk3oSbLO9zTMNeGiSV-qlcPGt4Kv4a0,56351
58
+ supervision/key_points/skeletons.py,sha256=tR-jTLI2KJwjpK3XKqbH9clYl9S_7IOIn7wMXgmrO3Y,51609
59
+ supervision/keypoint/__init__.py,sha256=_gXhuYGKySHYGrnbsFFuHE-NzgGakHGaMfyOb1tBYrk,393
60
+ supervision/keypoint/annotators.py,sha256=o5Ioj69uAt-7TeOOZI3ryy7m6uYElHppVG1FRBTe0dc,390
61
+ supervision/keypoint/core.py,sha256=cQ-EhJ9ez_O2xQ3M9b3HO2q6sgtmGf9jRAJJSRqp2kk,297
62
+ supervision/metrics/__init__.py,sha256=chkwodiDqgcUHlCIPq3hd857Iz0cZv4UxNL4vwVVvjw,1044
63
+ supervision/metrics/core.py,sha256=ajlMmN7Y4jICzxw6WdfdqxLhNE4hquVAWKEx8lRlrqg,2271
64
+ supervision/metrics/detection.py,sha256=6nXj2xa49zMMDiQUS7gUqaqQlMnSc-xWGh97bd4oRvo,61745
65
+ supervision/metrics/f1_score.py,sha256=gSh6jS9Ddt8q_405cQj-SRnEgTXkvdraGAVrgjVE2lw,33303
66
+ supervision/metrics/mean_average_precision.py,sha256=oqq8nhGm_7RQfEhhcEksbbmP72wVfKVhp8icNUGCH0A,67513
67
+ supervision/metrics/mean_average_recall.py,sha256=Qs7DN6iaZkospPqAk780dyultXXZ8gBtBXW6CTepxy0,28907
68
+ supervision/metrics/precision.py,sha256=tbz1WaSKxUn3sIZleSYMl0z3YGZaiWBO7WhfcivCzMk,33318
69
+ supervision/metrics/recall.py,sha256=mGYlaNUkJcrvzmHu5bCPRPlriwBp-6vh1x-ldcc2bg8,30997
70
+ supervision/metrics/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
+ supervision/metrics/utils/matching.py,sha256=2jK5K-K6dHrtrj5LHl8GO-0TxLIeFK0A0skGeaJX2xA,2228
72
+ supervision/metrics/utils/object_size.py,sha256=-F5lAQhCtZbptqcIl3qq_f-s0oIPPuzvx79VdtEfEzg,8545
73
+ supervision/metrics/utils/utils.py,sha256=vbDk_5fdjnh90-9ApfrGWI-kbbp43zQDM-b-Q7kXAF0,317
74
+ supervision/tracker/__init__.py,sha256=ZHw2RvnyqhXOXfFuZLIAuPMOc7FpO6brQfpJtjWAY6Q,134
75
+ supervision/tracker/byte_tracker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
+ supervision/tracker/byte_tracker/core.py,sha256=M12asSVEPxcw9rAWRkedTV80xEpVMBT6ySrJZOd765I,17344
77
+ supervision/tracker/byte_tracker/kalman_filter.py,sha256=ghPN-4eN0a83Mv3OlROOBXy1AUwM_GYGVSJmmt-9XMA,6817
78
+ supervision/tracker/byte_tracker/matching.py,sha256=PcFlw4ttX6k4I0QSYM9di0CNLjjmlggVds_Fe5kKjgw,7680
79
+ supervision/tracker/byte_tracker/single_object_track.py,sha256=XHS5O5uOs448PNo3KQHGHZp-zKWuM_Giahi8u2eseBs,6569
80
+ supervision/tracker/byte_tracker/utils.py,sha256=RrAI277cdkZ5bu7LdciUxlvMIDaAvcNwMfIE-vCIxww,876
81
+ supervision/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
82
+ supervision/utils/conversion.py,sha256=ZvuFqqWRTXnbL9wDhnJ5AZ5YXj94I62sAxYz1dziWVA,6513
83
+ supervision/utils/deprecate.py,sha256=3Mt9z6zZhU12C4VkajM-IHXdAV8WWl2rgWQWbMhE-ZY,1580
84
+ supervision/utils/file.py,sha256=KJfzl28gPkMNosJBRNUZd1x2sXYAmC6WzQrqrcrQkQs,6630
85
+ supervision/utils/image.py,sha256=E04SEv3o46S-OlRMPcOt9W3AIjC20OMUeAbRNM58P1g,35118
86
+ supervision/utils/internal.py,sha256=ZYLO0Yv6gC3ZxhtFO5VWEEV9gcg2B8rk_Fix6h4Qc2o,6600
87
+ supervision/utils/iterables.py,sha256=33Btb3nzYrL-ikwecRoi-IfXhnDfpbmrAbwB7M2Jy84,2882
88
+ supervision/utils/logger.py,sha256=I9NKKsd_DvsrltS89vaz_knMJRmO8abfxffJCCc692o,2005
89
+ supervision/utils/notebook.py,sha256=AQMwbNkb_eahfgwnT-aaTO4S4V_tbW5oRZnw-_FTTpk,3837
90
+ supervision/utils/tensor.py,sha256=X9BSwE3vAOQ-0BY5dFrIt5D6nTcsgd5Tty4hwR4RdmE,13045
91
+ supervision/utils/video.py,sha256=ucyYUdOkF9ncLksZo3iVwyqTyHSIchS89CX3ITukF70,18250
92
+ supervision/validators/__init__.py,sha256=UdLxwAZ1uI5KofqobBgLtoCKViDlZ1lQTmRSDvszj5o,11702
93
+ superiorvision-0.30.0.dev0.dist-info/METADATA,sha256=hrb1oVKQpZNaIFVuWKq7q0G2iJ1cA2yN3598c10mee4,15700
94
+ superiorvision-0.30.0.dev0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
95
+ superiorvision-0.30.0.dev0.dist-info/top_level.txt,sha256=tmYcttHWXQ7iLA3RW2IbiC8vkyWiX0L4falhoifAK5s,27
96
+ superiorvision-0.30.0.dev0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (83.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Roboflow
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,2 @@
1
+ superiorvision
2
+ supervision