supervision/examples
Onuralp SEZER 212e69b5a4
refactor: 🧪 type hints to use the new union syntax for optional types
- Updated type hints across multiple files to replace `Optional[X]` with `X | None` for better readability and consistency.
- Added `from __future__ import annotations` to files to enable postponed evaluation of type annotations.
- Adjusted function signatures and variable types in various modules including `polygon_zone.py`, `smoother.py`, `transformers.py`, `vlm.py`, and others.
- Ensured compatibility with Python 3.10+ type hinting features.

Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2025-07-15 16:36:01 +03:00
..
count_people_in_zone chore: 🧹 update requirements and change default weights file in ultralytics_example.py for count people example 2025-07-15 00:58:35 +03:00
heatmap_and_track fix(pre_commit): 🎨 auto format pre-commit hooks 2025-07-15 10:16:29 +00:00
speed_estimation chore: 🧹 update requirements.txt to remove version constraints for dependencies 2025-07-15 12:29:47 +02:00
time_in_zone refactor: 🧪 type hints to use the new union syntax for optional types 2025-07-15 16:36:01 +03:00
tracking chore: 🧹 update requirements files to remove version constraints 2025-07-15 12:15:55 +02:00
traffic_analysis refactor: 🧪 type hints to use the new union syntax for optional types 2025-07-15 16:36:01 +03:00
README.md Update README.md 2024-04-11 14:40:43 +02:00

README.md

Examples

Here, you'll find end-to-end examples that show how to solve common computer vision problems using Supervision.

For more information and examples, visit our documentation and explore our how-to guides and cookbooks. Join our Discord and meet other Supervision power users!