Onuralp SEZER
95006dca14
fix: 🐞 gh-pages permission fix for deployment
2023-11-15 22:11:32 +03:00
Piotr Skalski
5456c666c7
Merge pull request #602 from roboflow/feature/adding-polygon-annotator
...
Add PolygonAnnotator and update documentation
2023-11-15 17:54:11 +01:00
SkalskiP
2ed4e16ab5
Added a visual and code example for PolygonAnnotator in supervision/annotators/core.py and docs/annotators.md.
2023-11-15 17:49:17 +01:00
SkalskiP
c1beb0f5fd
Add PolygonAnnotator to supervision annotators
2023-11-15 17:30:06 +01:00
pre-commit-ci[bot]
777e8d3e5b
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-15 16:11:11 +00:00
SkalskiP
e40532cf3e
Add PolygonAnnotator and update documentation
...
Implemented the PolygonAnnotator class in the core.py file under the supervision/annotators directory to support drawing polygons over detected objects. This was done by dividing the masks into multiple polygons and drawing them on the image.
2023-11-15 17:09:27 +01:00
Onuralp SEZER
550e86bc6d
Merge pull request #598 from roboflow/dependabot/pip/mkdocstrings-0.24.0
...
⬆️ Bump mkdocstrings from 0.23.0 to 0.24.0
2023-11-15 17:07:13 +03:00
Onuralp SEZER
6af17b235f
Merge pull request #589 from roboflow/dependabot/pip/mypy-1.7.0
...
⬆️ Bump mypy from 1.6.1 to 1.7.0
2023-11-15 17:06:48 +03:00
Onuralp SEZER
de867bb166
Merge pull request #593 from roboflow/dependabot/github_actions/actions/github-script-7
...
⬆️ Bump actions/github-script from 6 to 7
2023-11-15 17:06:25 +03:00
Onuralp SEZER
ca84d3129c
Merge pull request #592 from roboflow/pre-commit-ci-update-config
...
chore(pre_commit): ⬆ pre_commit autoupdate
2023-11-15 17:06:03 +03:00
Onuralp SEZER
9c9bc77e12
Merge pull request #600 from roboflow/fix/incorrectly-autoformatted-case-test
...
Updated tests to reflect changes in file content handling
2023-11-15 17:05:11 +03:00
Onuralp SEZER
b9573605c7
fix(test): 🧪 pre-commit's whitespace exclude and test case fix for whiespace
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-11-15 17:01:57 +03:00
pre-commit-ci[bot]
8025b468a2
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-15 13:42:25 +00:00
SkalskiP
d3fb4ad932
Ignoring W291 for test_file.py
2023-11-15 14:41:38 +01:00
pre-commit-ci[bot]
fcfb57612f
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-15 13:37:51 +00:00
SkalskiP
c28aa5aebd
Updated tests to reflect changes in file content handling
2023-11-15 14:37:02 +01:00
Piotr Skalski
109d048a38
Merge pull request #584 from SummitStudiosDev/develop
...
Ignore Empty Newlines in Yolo Label File
2023-11-15 14:32:34 +01:00
dependabot[bot]
6ad1f701dd
⬆️ Bump mkdocstrings from 0.23.0 to 0.24.0
...
Bumps [mkdocstrings](https://github.com/mkdocstrings/mkdocstrings ) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases )
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.23.0...0.24.0 )
---
updated-dependencies:
- dependency-name: mkdocstrings
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-15 00:32:33 +00:00
dependabot[bot]
7f081f4314
⬆️ Bump actions/github-script from 6 to 7
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-14 00:36:36 +00:00
pre-commit-ci[bot]
dd39360221
chore(pre_commit): ⬆ pre_commit autoupdate
...
updates:
- [github.com/psf/black: 23.10.1 → 23.11.0](https://github.com/psf/black/compare/23.10.1...23.11.0 )
- [github.com/astral-sh/ruff-pre-commit: v0.1.4 → v0.1.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.4...v0.1.5 )
2023-11-13 17:46:54 +00:00
dependabot[bot]
7de7281e0e
⬆️ Bump mypy from 1.6.1 to 1.7.0
...
Bumps [mypy](https://github.com/python/mypy ) from 1.6.1 to 1.7.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.6.1...v1.7.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-13 00:53:30 +00:00
Onuralp SEZER
e8f0ceab71
fix: 🐞 test fix
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-11-10 22:07:47 +03:00
Onuralp SEZER
94a95110ce
fix: 🐞 pre-commit fix and ignore removed (not needed)
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-11-10 21:47:40 +03:00
pre-commit-ci[bot]
08a48a4f5d
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-10 18:26:26 +00:00
SkalskiP
95f4b5c0b8
Add linting rule exceptions for test_file.py
...
Added linting rule exceptions for 'test/utils/test_file.py' in 'pyproject.toml'. Specifically, the 'W291' error which checks for trailing whitespace is ignored for this test file. This is necessary to test whether 'read_txt_file' function in 'test_utils.py' correctly ignores trailing whitespaces in varies test scenarios.
2023-11-10 10:25:59 -08:00
pre-commit-ci[bot]
6211139201
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-10 18:15:39 +00:00
SkalskiP
e416ef4c0e
Refactor import paths and improve text file reading
...
Refactored import paths for test utility methods across multiple test files to align with a recent package restructure. Enriched 'read_txt_file' functionality in 'file.py' allowing to optionally skip empty lines, enhancing flexibility for various use-cases. Added tests for the new 'read_txt_file' behavior in a new 'test_file.py'. Renamed 'utils.py' in test package to 'test_utils.py' for better differentiation from the util package in the source code.
2023-11-10 10:15:08 -08:00
pre-commit-ci[bot]
1dce43747f
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-10 04:41:51 +00:00
Cody Chen
f9ead5543b
Ignore empty newlines in yolo label file
2023-11-09 20:24:11 -08:00
Onuralp SEZER
5d19e246a4
Merge pull request #583 from roboflow/dependabot/pip/ruff-0.1.5
...
⬆️ Bump ruff from 0.1.4 to 0.1.5
2023-11-09 11:33:03 +03:00
Onuralp SEZER
052a9d33bb
Merge pull request #582 from roboflow/dependabot/pip/black-23.11.0
...
⬆️ Bump black from 23.10.1 to 23.11.0
2023-11-09 11:32:45 +03:00
dependabot[bot]
ed41153c19
⬆️ Bump ruff from 0.1.4 to 0.1.5
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.4...v0.1.5 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-09 00:48:59 +00:00
dependabot[bot]
b89487d8e8
⬆️ Bump black from 23.10.1 to 23.11.0
...
Bumps [black](https://github.com/psf/black ) from 23.10.1 to 23.11.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.10.1...23.11.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-09 00:46:29 +00:00
Onuralp SEZER
c8f557af0c
Merge pull request #578 from roboflow/pre-commit-ci-update-config
...
chore(pre_commit): ⬆ pre_commit autoupdate
2023-11-06 21:19:40 +03:00
pre-commit-ci[bot]
7946f54b95
chore(pre_commit): ⬆ pre_commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.3 → v0.1.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.3...v0.1.4 )
2023-11-06 17:37:29 +00:00
Onuralp SEZER
eeae6dafc0
Merge pull request #577 from roboflow/dependabot/pip/ruff-0.1.4
...
⬆️ Bump ruff from 0.1.3 to 0.1.4
2023-11-06 18:41:42 +03:00
Onuralp SEZER
d07e6a3ed2
Merge pull request #576 from roboflow/dependabot/pip/mkdocs-material-9.4.8
...
⬆️ Bump mkdocs-material from 9.4.7 to 9.4.8
2023-11-06 18:41:15 +03:00
dependabot[bot]
06945856a3
⬆️ Bump ruff from 0.1.3 to 0.1.4
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.3...v0.1.4 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-06 00:57:31 +00:00
dependabot[bot]
899d88676b
⬆️ Bump mkdocs-material from 9.4.7 to 9.4.8
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.4.7 to 9.4.8.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.4.7...9.4.8 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-06 00:54:42 +00:00
Piotr Skalski
26eac2cdc7
Merge pull request #565 from roboflow/hb-removal-readme
...
docs: 🚀 hacktoberfest 2023 finished.
2023-11-03 11:51:46 +01:00
Onuralp SEZER
ad458cf705
docs: 🚀 hacktoberfest 2023 finished.
...
Thank you all who participate to hacktoberfest to make supervision awesome ! 🎉 🎉 🎉 🎉
2023-11-02 20:38:17 +03:00
Onuralp SEZER
9f3d688bab
Merge pull request #560 from roboflow/dependabot/pip/mypy-1.6.1
...
⬆️ Bump mypy from 1.4.1 to 1.6.1
2023-11-01 18:34:00 +03:00
Onuralp SEZER
190bfbf0d0
Merge pull request #559 from roboflow/dependabot/pip/mkdocs-material-9.4.7
...
⬆️ Bump mkdocs-material from 9.4.6 to 9.4.7
2023-11-01 18:33:37 +03:00
dependabot[bot]
f9b8709568
⬆️ Bump mypy from 1.4.1 to 1.6.1
...
Bumps [mypy](https://github.com/python/mypy ) from 1.4.1 to 1.6.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.4.1...v1.6.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-01 00:37:17 +00:00
dependabot[bot]
8d1e091a3b
⬆️ Bump mkdocs-material from 9.4.6 to 9.4.7
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.4.6 to 9.4.7.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.4.6...9.4.7 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-01 00:35:42 +00:00
Piotr Skalski
92592c8edc
Merge pull request #555 from fdloopes/540-bug-blur-annotator
...
fix : #540 bug blur annotator
2023-10-31 18:25:44 +01:00
pre-commit-ci[bot]
e6a5c514f8
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-31 17:05:11 +00:00
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
Piotr Skalski
4cb19e6618
Merge pull request #558 from roboflow/fix/kapa-roboflow-logo
...
Update init_kapa_widget.js
2023-10-31 17:32:31 +01:00
Piotr Skalski
6e039d7ebd
Update init_kapa_widget.js
2023-10-31 17:30:02 +01:00