supervision/test
SkalskiP ce7e3a1de4 Refactor clip_boxes function and enhance detections processing
Refactored the `clip_boxes` function for clarity by renaming arguments from `boxes_xyxy` and `frame_resolution_wh` to `xyxy` and `resolution_wh`, respectively. These change makes the function arguments more intuitive and improves code readability.

The processing of detections in `supervision/annotators/core.py` has been updated to include clipping of detection boxes to the image bounds before processing. This prevents errors and ensures detections beyond the image dimensions are handled correctly. Adjustments were also made in the test cases and in `polygon_zone.py` to match the updated `clip_boxes` function.
2023-10-31 18:04:13 +01:00
..
annotators fix(pre_commit): 🎨 auto format pre-commit hooks 2023-10-12 17:11:59 +00:00
classification feat: 🚀 pre-commit and initial formatted files 2023-07-25 13:02:26 +03:00
dataset 🛠️ small fix 2023-08-16 13:23:10 +02:00
detection Refactor clip_boxes function and enhance detections processing 2023-10-31 18:04:13 +01:00
draw run linter 2023-02-01 14:37:54 +00:00
geometry feat: 🚀 pre-commit and initial formatted files 2023-07-25 13:02:26 +03:00
metrics Merge additonal features and changes from 'origin/develop' 2023-08-07 23:23:23 +03:00
__init__.py 🧪 rename test directory `tests -> test` 2023-01-18 19:45:19 +01:00
utils.py Final changes before merge 2023-08-07 09:58:46 +02:00