Commit Graph

300 Commits

Author SHA1 Message Date
Onuralp SEZER 1f0c278c4e
refactor: ruff rules enabled and fixed and code refactor made
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-09-19 10:35:30 +03: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 0edb590bb5
Merge branch 'develop' into feat/formatter-improvements 2024-08-27 14:12:14 +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
LinasKo c3641de724 np.array -> np.ndarray 2024-08-14 12:14:26 +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
Piotr Skalski f06dcf73a5
Merge pull request #1277 from roboflow/feat/patch-rich-label-annotator
Patch RichLabelAnnotator, fix in-place functionality of other annotators
2024-07-03 13:39:10 +02: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
LinasKo d35830ddeb Include tests 2024-06-18 22:19:36 +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 883a6bed3c
Merge pull request #1236 from roboflow/feat/slicer-select-nms-or-nmm
Select overlap filtering strategy
2024-05-30 14:06:00 +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
Linas Kondrackis c98698d442 get_instance_variables: test dataclass fields 2024-05-29 11:08:17 +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
Linas Kondrackis f24c6f38a0 get_instance_variables only accepts instance, more tests 2024-05-28 14:09:38 +03:00
Linas Kondrackis a6c995c9a9 More tests for `get_instance_variables` 2024-05-28 11:14:29 +03:00
pre-commit-ci[bot] 3c3a0792f3 fix(pre_commit): 🎨 auto format pre-commit hooks 2024-05-28 07:42:33 +00:00
Linas Kondrackis 1d13397503 Dynamically select Detections fields, not hardcoded 2024-05-28 10:38:54 +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