28dfc39c02
chore(pre_commit): ⬆ pre_commit autoupdate ( #1928 )
...
* chore(pre_commit): ⬆ pre_commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0 )
- [github.com/PyCQA/bandit: 1.8.6 → 1.9.2](https://github.com/PyCQA/bandit/compare/1.8.6...1.9.2 )
- [github.com/astral-sh/ruff-pre-commit: v0.12.5 → v0.14.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.5...v0.14.10 )
- [github.com/asottile/pyupgrade: v3.20.0 → v3.21.2](https://github.com/asottile/pyupgrade/compare/v3.20.0...v3.21.2 )
* linting
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com >
Co-authored-by: jirka <jirka.borovec@seznam.cz >
2026-01-05 17:21:58 +01:00
pre-commit-ci[bot]
4ad36db3bb
fix(pre_commit): 🎨 auto format pre-commit hooks
2025-08-07 09:53:22 +00:00
SkalskiP
cbb58a8c6f
tint_image and grayscale_image functions added
2025-08-07 10:01:50 +02:00
SkalskiP
8fc22f0281
move ImageType to a more suitable location
2025-08-07 07:54:50 +02:00
pre-commit-ci[bot]
13ab215fdf
fix(pre_commit): 🎨 auto format pre-commit hooks
2025-08-06 10:05:47 +00:00
SkalskiP
a08cda30fb
ready for review
2025-08-06 12:02:51 +02:00
Ashp116
0c9fea4d9f
UPDATE: Change Smooth to bool
2025-07-30 18:24:14 -04:00
Ashp116
cdca2e6b51
UPDATE: Removed SplineAnnotator and added smooth flag for TraceAnnotator
2025-07-30 13:48:38 -04:00
pre-commit-ci[bot]
8407d5a692
fix(pre_commit): 🎨 auto format pre-commit hooks
2025-07-30 07:15:02 +00:00
Ashp116
eaf6cdd477
Precommit
2025-07-30 03:14:00 -04:00
pre-commit-ci[bot]
f447b6fa95
fix(pre_commit): 🎨 auto format pre-commit hooks
2025-07-30 07:10:19 +00:00
Ashp116
8c6ac2dd29
UPDATE: Made smoothing and spline_order as hyperparameters
2025-07-30 02:53:58 -04:00
Ashp116
22b6d3d464
ADD: Added a spline annotator
2025-07-30 02:04:24 -04:00
SkalskiP
6f2490cc23
fix formatting
2025-07-29 14:43:38 +02:00
pre-commit-ci[bot]
21e311a319
fix(pre_commit): 🎨 auto format pre-commit hooks
2025-07-29 12:40:11 +00:00
SkalskiP
71a14812fe
LabelAnnotator and RichLabelAnnotator docs improvement
2025-07-29 14:39:41 +02:00
soumik12345
cb215d26f3
add: support for an additional parameter text_anchor_offset in _BaseLabelAnnotator
2025-07-28 19:03:17 +05:30
SkalskiP
036a956473
fix for #1911
2025-07-26 17:46:04 +02:00
soumik12345
d067f32678
fix: border thickness parameter usage for PercentageBarAnnotator
2025-07-22 15:48:54 +05:30
pre-commit-ci[bot]
592a649b50
fix(pre_commit): 🎨 auto format pre-commit hooks
2025-07-15 17:26:01 +00:00
SkalskiP
fa5fcbb264
utils split across multiple files; internal and external imports working; utils tests split across multiple files; tests working locally
2025-07-15 19:23:55 +02:00
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
Onuralp SEZER
7fde67ef75
Merge branch 'develop' into feat/upgrade-python-3-9
2025-07-15 16:26:55 +03:00
Onuralp SEZER
00fab37e58
feat: 🚀 dropping python 3.8 support and upgrade all codes to python3.9 syntax style as min
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2025-07-14 20:12:11 +03:00
hidara2000
d3a2012750
Merge branch 'roboflow:develop' into develop
2025-07-11 10:16:58 +10:00
hidara2000
0b00edc526
Remove redundant duplicated calls to spread_out_boxes
2025-07-11 10:14:07 +10:00
hidara2000
d7e0dedf74
pull from main
2025-07-11 09:57:06 +10:00
hidara2000
0c2aae6bd2
refactor(snap_boxes): enhance docstring and improve bounding box shifting logic
2025-04-25 09:48:47 +10:00
pre-commit-ci[bot]
a6aa9b7d3b
fix(pre_commit): 🎨 auto format pre-commit hooks
2025-04-24 23:33:17 +00:00
hidara2000
29695055d2
refactor(annotators): streamline label handling and improve box snapping logic
2025-04-25 09:32:54 +10:00
pre-commit-ci[bot]
1cf95972f3
fix(pre_commit): 🎨 auto format pre-commit hooks
2025-04-23 22:26:28 +00:00
SkalskiP
da498b091b
fix circular import
2025-04-24 00:13:32 +02:00
SkalskiP
2ea0f443f8
test new approach
2025-04-24 00:08:06 +02:00
SkalskiP
639318832b
ready for tests
2025-04-23 23:55:34 +02:00
pre-commit-ci[bot]
b9475f14f3
fix(pre_commit): 🎨 auto format pre-commit hooks
2025-04-23 13:45:43 +00:00
SkalskiP
f866fe046f
ready for tests
2025-04-23 15:41:42 +02:00
Piotr Skalski
1876019faf
Merge branch 'develop' into develop
2025-04-23 09:13:08 +02:00
Soumik Rakshit
94131ff56b
add: support for non-str labels
2025-04-22 18:13:34 +00:00
pre-commit-ci[bot]
95a2ecc49b
fix(pre_commit): 🎨 auto format pre-commit hooks
2025-04-17 01:02:48 +00:00
hidara2000
5c35af99d0
fix long comment lines
2025-04-17 11:02:25 +10:00
pre-commit-ci[bot]
c68218a07e
fix(pre_commit): 🎨 auto format pre-commit hooks
2025-04-17 00:48:27 +00:00
hidara2000
0539ec9d1f
feat(annotators): add max_line_length parameter and text wrapping functionality
2025-04-17 10:48:02 +10:00
hidara2000
c4dce2752d
fix(annotators): add missing comma in annotate method signature
2025-04-15 22:09:51 +10:00
hidara2000 and Onuralp SEZER
474c8bc478
Update supervision/annotators/core.py
...
Co-authored-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2025-04-15 21:58:31 +10:00
hidara2000 and Onuralp SEZER
a5c833b80f
Update supervision/annotators/core.py
...
Co-authored-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2025-04-15 21:58:20 +10:00
hidara2000 and Onuralp SEZER
a1e43f8e93
Update supervision/annotators/core.py
...
Co-authored-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2025-04-15 21:58:06 +10:00
pre-commit-ci[bot]
ca5596ceb2
fix(pre_commit): 🎨 auto format pre-commit hooks
2025-04-15 08:30:30 +00:00
hidara2000
f2e900171e
feat(annotators): enhance label annotators with frame boundary adjustments and new base class
...
- ensures labels are within frame
- May have a few overlaps at edges,in very busy frames, when smart_pos is enabled. but running smart_pos first yields better results
2025-04-15 18:09:08 +10:00
Piotr Skalski
acf1ef6d90
Merge pull request #1786 from Armaggheddon/refactor/heatmap-perf
...
perf: improved hsv color mapping in HeatMapAnnotator by 20x
2025-02-19 15:02:13 +01:00
pre-commit-ci[bot]
e804a01e85
fix(pre_commit): 🎨 auto format pre-commit hooks
2025-02-18 11:52:48 +00:00