LinasKo
d1e11684e7
Fixed bugs, heavily refactored crossing confirmation in LineZone
2024-11-06 00:24:09 +02:00
Grzegorz Klimaszewski
78fd2147f1
Merge branch 'develop' into feature/remove-false-line-counts
2024-10-02 10:08:04 +02:00
LinasKo
23023e9764
Revert default overlap_ratio_wh value, update docs
2024-10-01 13:22:55 +03:00
Thibault
fedc1a47e0
fix: InferenceSlicer overlap_ratio_wh argument changed to None by default
...
Changed the default value of the overlap_ratio_wh argument to None, as this parameter will be deprecated in version 0.27.0. This change allows a smoother transition by not forcing users to explicitly set it to None.
Additionally, added tests for validating the overlap arguments (overlap_wh and overlap_ratio_wh) to ensure proper error handling and usage. Also started implementing tests for the offset generation method to verify that slices are correctly calculated based on the overlap settings.
2024-09-26 11:15:16 +02:00
Grzegorz Klimaszewski
95f6ef0b22
Address CI linter
2024-09-23 17:49:05 +02:00
pre-commit-ci[bot]
0e26f1b22e
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-09-23 15:44:40 +00:00
Grzegorz Klimaszewski
cc640dc890
Extend LineZone to filter out miscounts
2024-09-23 17:36:32 +02:00
pre-commit-ci[bot]
f307f981f6
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-09-19 10:05:06 +00:00
Grzegorz Klimaszewski
79858ad9d3
Move opacity handling to utils/draw; extend PolygonZoneAnnotator to draw filled polygon when opacity is greater than 0
2024-09-19 11:58:54 +02:00
Onuralp SEZER
b06d979525
Merge pull request #1494 from Kadermiyanyedi/fix-test-warnings
...
fix(refactor): 🐞 Update deprecated usages of supervision tests to the latest version
2024-08-31 01:47:06 +03:00
Kader Miyanyedi
3c41c9721d
fix: fix typos
2024-08-31 01:31:16 +03:00
Kader Miyanyedi
80567df1ea
fix: fix test warnings
2024-08-31 01:21:27 +03:00
Onuralp SEZER
a64a2fc243
fix(formatter): apply fixes from ruff and fix minor mypy and pep corrections
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-08-23 19:45:38 +03:00
Piotr Skalski
5ed03491f9
Merge pull request #1327 from roboflow/fix/florence2-region-xyxy
...
Fix bug where florence2 returns normalized xyxy regions
2024-07-12 12:17:18 +02:00
pre-commit-ci[bot]
2ed2a793cd
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-07-10 10:15:01 +00:00
SkalskiP
e0fb73f18a
`xywh_to_xyxy` and `xcycwh_to_xyxy` box utils
2024-07-10 12:13:07 +02:00
LinasKo
a8b12914c8
Fix florence 2 tests
2024-07-05 13:21:59 +03:00
LinasKo
61579af25a
Make ruff happy
2024-06-21 17:49:43 +03:00
pre-commit-ci[bot]
bcd3e1be17
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-06-21 13:59:41 +00:00
LinasKo
9ef697cd10
Florence 2 units tests
2024-06-21 16:59:01 +03:00
Piotr Skalski
6a199c5d7e
Merge pull request #1260 from roboflow/final-changes-before-supervision-0.21.0-release
...
final changes before `supervision-0.21.0`
2024-06-05 17:55:51 +02:00
Piotr Skalski
111d4c6c91
Merge pull request #1206 from tc360950/line-zone-unit-tests
...
Add LineZone unit tests
2024-06-05 16:30:20 +02:00
LinasKo
a77a2ba8aa
LineZone: uncomment unit tests, set expected results
2024-06-05 16:27:53 +02:00
LinasKo
ceecb8bbd7
Cleanup: Remove print statements from tests
2024-06-05 15:42:00 +02:00
SkalskiP
c28c93bd4f
non-max-merging visualization + `from_lmm` updates
2024-06-05 15:40:28 +02:00
LinasKo
a5d4612402
Revert Detections.merge to 0.20.0, but filter out empty detections
2024-06-03 10:43:31 +02:00
LinasKo
2b5d430382
LineZone - does not work with movement to or from zones outside limits
2024-06-01 15:44:20 +02:00
LinasKo
b6ff9242fc
LineZone tests: add extreme coordinate test
2024-06-01 16:19:09 +03:00
LinasKo
d2f169bcfa
Line zone tests - replace multi detection tests
2024-06-01 15:59:46 +03:00
Linas Kondrackis
33e10ff722
Add unit tests covering most single-detection cases
...
* Add Colab for visuals: https://colab.research.google.com/drive/179sq8joJ-7JSYMqYNBQlMIPYEClq1PDi?usp=sharing
* Need to visualise other cases - not sure if all are necessary
2024-05-31 20:13:13 +03:00
Linas Kondrackis
f7bd7011fe
OverlapFilter: Add and validate docs, rename
2024-05-30 13:45:12 +03:00
Linas Kondrackis
315c4295ff
Move NMS and NMM related methods from utils into overlap_handling.py
2024-05-29 16:17:20 +03:00
LinasKo
d59467b4f4
Add anchor check and tests to polygon zone
2024-05-28 15:12:48 +03:00
LinasKo
c0486b7f94
Remove docstrings
...
The class names were descriptive enough
2024-05-28 14:46:55 +03:00
Piotr Skalski
a0d0d45890
Merge pull request #500 from mario-dg/add_nmm_to_detections
...
Add Non-Maximum Merging (NMM) to Detections
2024-05-27 21:34:49 +02:00
Linas Kondrackis
2ee9e08446
Renamed to group_overlapping_boxes
2024-05-27 16:21:40 +03:00
Linas Kondrackis
530e1d01e1
Address comments
2024-05-27 16:17:27 +03:00
tc360950
404be16126
Code reformatting
2024-05-24 18:14:18 +02:00
tc360950
72d677ad89
Merge branch 'develop' of https://github.com/tc360950/supervision into line-zone-unit-tests
2024-05-24 18:11:17 +02:00
tc360950
4e2eb0afc2
Code reformatting
2024-05-24 16:42:40 +02:00
tc360950
909ae2a8ff
Merge remote-tracking branch 'origin/line-zone-unit-tests' into line-zone-unit-tests
2024-05-24 16:39:43 +02:00
tc360950
7d0488efc0
Add unit tests for negative coordinates and empty anchors
2024-05-24 16:39:30 +02:00
pre-commit-ci[bot]
db1b4737fe
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-05-23 13:04:11 +00:00
Linas Kondrackis
6fbca8333e
Address review comments, simplify merge
...
* Reintroduced iou check before response - necessary for algorithm
2024-05-23 16:01:34 +03:00
pre-commit-ci[bot]
ad2220bc1d
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-05-23 07:12:19 +00:00
SkalskiP
0115ef8b7d
small fix when `mask` is empty
2024-05-23 09:11:47 +02:00
SkalskiP
07c36c6223
make linter happy
2024-05-22 17:47:52 +02:00
pre-commit-ci[bot]
bf43d6566b
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-05-22 14:29:23 +00:00
SkalskiP
b81c5e8475
update to allow multi-word class names
2024-05-22 16:28:24 +02:00
SkalskiP
36a73f7d49
clean up
2024-05-22 14:26:13 +02:00