james77777778 / keras-aug

A library that includes Keras 3 preprocessing and augmentation layers, providing support for various data types such as images, labels, bounding boxes, segmentation masks, and more.
Apache License 2.0
16 stars 0 forks source link

Add sanitize_bounding_boxes #45

Closed james77777778 closed 1 year ago

james77777778 commented 1 year ago

Fixes #42

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.06 :tada:

Comparison is base (d8f5d27) 87.19% compared to head (5180dfd) 87.26%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #45 +/- ## ========================================== + Coverage 87.19% 87.26% +0.06% ========================================== Files 52 52 Lines 3506 3525 +19 ========================================== + Hits 3057 3076 +19 Misses 449 449 ``` | [Impacted Files](https://app.codecov.io/gh/james77777778/keras-aug/pull/45?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HongYu) | Coverage Δ | | |---|---|---| | [...as\_aug/layers/augmentation/geometry/random\_crop.py](https://app.codecov.io/gh/james77777778/keras-aug/pull/45?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HongYu#diff-a2VyYXNfYXVnL2xheWVycy9hdWdtZW50YXRpb24vZ2VvbWV0cnkvcmFuZG9tX2Nyb3AucHk=) | `88.49% <100.00%> (+0.53%)` | :arrow_up: | | [...rs/augmentation/geometry/random\_crop\_and\_resize.py](https://app.codecov.io/gh/james77777778/keras-aug/pull/45?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HongYu#diff-a2VyYXNfYXVnL2xheWVycy9hdWdtZW50YXRpb24vZ2VvbWV0cnkvcmFuZG9tX2Nyb3BfYW5kX3Jlc2l6ZS5weQ==) | `92.04% <100.00%> (+0.47%)` | :arrow_up: | | [...yers/augmentation/geometry/random\_zoom\_and\_crop.py](https://app.codecov.io/gh/james77777778/keras-aug/pull/45?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HongYu#diff-a2VyYXNfYXVnL2xheWVycy9hdWdtZW50YXRpb24vZ2VvbWV0cnkvcmFuZG9tX3pvb21fYW5kX2Nyb3AucHk=) | `86.58% <100.00%> (+0.68%)` | :arrow_up: | | [...s\_aug/layers/preprocessing/geometry/center\_crop.py](https://app.codecov.io/gh/james77777778/keras-aug/pull/45?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HongYu#diff-a2VyYXNfYXVnL2xheWVycy9wcmVwcm9jZXNzaW5nL2dlb21ldHJ5L2NlbnRlcl9jcm9wLnB5) | `84.53% <100.00%> (+0.84%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.