Commit Graph

328 Commits

Author SHA1 Message Date
LinasKo 7141f11c0b detections __getitem__ test: minor class name correction 2024-12-04 12:13:33 +02:00
Soham 37eadfe305 test: empty detection check in getitem 2024-12-03 19:24:41 +05:30
LinasKo 284901c06b
Merge pull request #1662 from roboflow/fix/depricated-tests
fix(tests): 🐞 update inference slicer tests to new overlap system for removing test warnings
2024-11-18 20:08:28 +02:00
LinasKo c43ca06609 Expand Detections.merge tests with metadata 2024-11-08 12:48:23 +02:00
LinasKo b72ad4656b Unit tests for merge_metadata, fixes involving numpy arrays 2024-11-08 11:52:24 +02:00
Onuralp SEZER fdb036ecd5
fix(tests): 🐞 update inference slicer tests to new overlap system for removing test warnings
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-11-08 09:44:15 +03:00
LinasKo 1b101b49ac Renamed crossing_acceptance_threshold to minimum_crossing_threshold 2024-11-07 18:32:58 +02:00
LinasKo ee3aa9f08d Merge branch 'develop' into feature/remove-false-line-counts 2024-11-06 14:14:50 +02:00
LinasKo d1e11684e7 Fixed bugs, heavily refactored crossing confirmation in LineZone 2024-11-06 00:24:09 +02:00
LinasKo 11355c5192
Merge pull request #1589 from souhhmm/feat/detection-metadata
Feat: Added detection metadata
2024-11-04 13:19:11 +02:00
pre-commit-ci[bot] 9ee1b5dc5a fix(pre_commit): 🎨 auto format pre-commit hooks 2024-11-04 10:41:58 +00:00
LinasKo d645bd816e Fix: Add metadata to public var retrieval test 2024-11-04 12:41:16 +02:00
LinasKo 251b952438
Merge pull request #1528 from roboflow/feature/make-BaseTrack-count-instance-var
let ByteTrack to maintain track ID per instance
2024-10-18 01:20:11 +03:00
Grzegorz Klimaszewski 78fd2147f1
Merge branch 'develop' into feature/remove-false-line-counts 2024-10-02 10:08:04 +02:00
LinasKo 52c9ec0def
Merge pull request #1547 from tibeoh/fix/inference-slicer-overlap
fix: InferenceSlicer overlap_ratio_wh argument changed to None by default
2024-10-01 13:37:34 +03:00
LinasKo 23023e9764 Revert default overlap_ratio_wh value, update docs 2024-10-01 13:22:55 +03:00
Onuralp SEZER 78f17cba2e
chore: 🧹 clean up documentation and improve formatting
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-09-27 14:18:26 +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
LinasKo 85e053eae6 Merge branch 'develop' into feature/add-opacity-to-polygon-zone-annotator 2024-09-19 22:10:48 +03:00
pre-commit-ci[bot] df9257b8fc fix(pre_commit): 🎨 auto format pre-commit hooks 2024-09-19 11:45:36 +00:00
Grzegorz Klimaszewski a0655aed08
fix test 2024-09-19 13:44:26 +02:00
pre-commit-ci[bot] 1e43de0a41 fix(pre_commit): 🎨 auto format pre-commit hooks 2024-09-19 11:41:21 +00:00
Grzegorz Klimaszewski db2aa721f8
Let upper layer to handle track_id generation 2024-09-19 13:38:16 +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 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