SkalskiP
bd4208ce84
Update project version to 0.17.0rc5
...
The project version in the `pyproject.toml` file has been updated to `0.17.0rc5` from `0.17.0rc4`.
2023-12-04 16:48:04 +01:00
Piotr Skalski
dd16f917d5
Merge pull request #637 from roboflow/feature/dynamic_font_scale_and_line_thicness_calculation
...
dynamic font scale and line thickness calculation based on image resolution
2023-12-04 16:36:48 +01:00
Piotr Skalski
31d60734bf
Merge pull request #638 from roboflow/revert-636-add-open-graph-images
...
Revert "Add open graph images"
2023-12-04 16:26:14 +01:00
Piotr Skalski
4483970638
Revert "Add open graph images"
2023-12-04 16:22:38 +01:00
Piotr Skalski
144df44ccc
Merge pull request #636 from roboflow/add-open-graph-images
...
Add open graph images
2023-12-04 16:16:37 +01:00
James Gallagher
92761752a0
respond to feedback
2023-12-04 15:09:23 +00:00
James Gallagher
b047e061e7
respond to feedback
2023-12-04 15:08:51 +00:00
pre-commit-ci[bot]
72497f3f85
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-12-04 14:57:58 +00:00
SkalskiP
478c3adfe2
Merge remote-tracking branch 'origin/feature/dynamic_font_scale_and_line_thicness_calculation' into feature/dynamic_font_scale_and_line_thicness_calculation
2023-12-04 15:57:43 +01:00
SkalskiP
81d0876838
Added two new utility functions in the supervision module for dynamic font-size scaling and line thickness calculations.
2023-12-04 15:57:27 +01:00
Piotr Skalski
66720c58fd
Merge pull request #635 from roboflow/add-code-snippet-copy
...
Add code snippet copy feature to docs
2023-12-04 15:30:26 +01:00
pre-commit-ci[bot]
b16e479a14
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-12-04 14:29:14 +00:00
SkalskiP
9f5773aa70
This commit adds descriptions for two new utility functions: calculate_dynamic_font_scale and calculate_dynamic_line_thickness.
2023-12-04 15:27:01 +01:00
SkalskiP
d2d590834e
Added dynamic font scale and line thickness calculations in utils.py.
2023-12-04 15:18:55 +01:00
James Gallagher
ec8f10d6a8
add open graph images
2023-12-04 13:35:27 +00:00
capjamesg
242ac0cd06
add code snippet copy feature to docs
2023-12-04 13:20:13 +00:00
Onuralp SEZER
93eb48c2a0
Merge pull request #629 from roboflow/dependabot/pip/cryptography-41.0.6
...
⬆️ Bump cryptography from 41.0.4 to 41.0.6
2023-12-01 23:33:09 +03:00
dependabot[bot]
f6265ebbda
⬆️ Bump cryptography from 41.0.4 to 41.0.6
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 41.0.4 to 41.0.6.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/41.0.4...41.0.6 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-01 20:25:38 +00:00
Piotr Skalski
b94e2796bd
Merge pull request #631 from roboflow/dependabot/github_actions/actions/first-interaction-1.3.0
2023-11-30 11:44:28 +01:00
dependabot[bot]
e77d06d817
⬆️ Bump actions/first-interaction from 1.2.0 to 1.3.0
...
Bumps [actions/first-interaction](https://github.com/actions/first-interaction ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/actions/first-interaction/releases )
- [Commits](https://github.com/actions/first-interaction/compare/v1.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: actions/first-interaction
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-30 00:38:11 +00:00
Piotr Skalski
b63457e5fa
Merge pull request #478 from roboflow/add-classification-annotator
...
Add `sv.Classifications.from_clip` data loader
2023-11-27 15:33:29 +01:00
SkalskiP
575a7a301d
Refactored the code in core.py to optimize softmax calculation and improve the related docstrings.
2023-11-27 15:27:39 +01:00
SkalskiP
02502baab3
Update docstrings and softmax calculation in core.py
2023-11-27 15:04:06 +01:00
SkalskiP
2aebe13583
Merge branch 'develop' into add-classification-annotator
2023-11-27 14:50:15 +01:00
James Gallagher
6ed04252d6
fix merge conflict
2023-11-27 13:45:16 +00:00
pre-commit-ci[bot]
491209d7bd
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-27 13:45:06 +00:00
James Gallagher
444f8d01c1
remove classification annotator
2023-11-27 13:44:52 +00:00
James Gallagher
f91fad5600
fix merge conflict
2023-11-27 13:42:31 +00:00
Piotr Skalski
1589d8fd43
Merge pull request #572 from roboflow/add-timm-classification-loader
...
Add timm data loader for `sv.Classifications`
2023-11-27 13:05:58 +01:00
SkalskiP
1d66840cad
Optimize imports in core.py
...
Adjustments have been made to the import statements in the 'core.py' file of the 'classification' module.
2023-11-27 12:58:34 +01:00
SkalskiP
05602cd2a0
Refactor code for clarity and better variable use
...
The variable names and usage within the 'ultralytics' and 'timm' functions were updated for improved code readability. The docstrings were also refined to better explain the function parameters. Instances where YOLO was redundantly called were also eliminated.
2023-11-27 12:51:05 +01:00
James
fc9acc456b
Merge branch 'develop' into add-classification-annotator
2023-11-27 11:18:40 +00:00
James Gallagher
b6c85a3f4b
fix precommit issue
2023-11-27 11:15:55 +00:00
James Gallagher
ce92069ba6
fix precommit
2023-11-27 10:57:00 +00:00
Piotr Skalski
2dcf2cc2ae
Merge pull request #621 from kim-jeonghyun/fix_typo_from_mmdetection
...
fix: 📝 typo in from_mmdetection docstring
2023-11-26 20:41:44 +01:00
kim-jeonghyun
619ec018bc
fix: 📝 typo in from_mmdetection docstring
2023-11-26 20:33:37 +09:00
SkalskiP
5333eb2684
Update project version in pyproject.toml
...
The version of the project has been updated from "0.17.0rc3" to "0.17.0rc4".
2023-11-26 11:33:56 +01:00
Piotr Skalski
d5d70052bb
Merge pull request #620 from roboflow/feature/add_color_as_hex
...
Add 'as_hex' method and corresponding test to `Color` class.
2023-11-26 11:29:25 +01:00
pre-commit-ci[bot]
242ac5f7db
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-26 10:27:43 +00:00
SkalskiP
e6f0ae8514
Add 'as_hex' method and corresponding test to Color class.
2023-11-26 11:25:59 +01:00
Onuralp SEZER
10c44b0143
Merge pull request #613 from roboflow/pre-commit-ci-update-config
...
chore(pre_commit): ⬆ pre_commit autoupdate
2023-11-21 18:06:51 +03:00
Onuralp SEZER
2a3f592090
Merge pull request #608 from roboflow/dependabot/pip/ruff-0.1.6
...
⬆️ Bump ruff from 0.1.5 to 0.1.6
2023-11-21 15:18:54 +03:00
pre-commit-ci[bot]
7941527a75
chore(pre_commit): ⬆ pre_commit autoupdate
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.5 → v0.1.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.5...v0.1.6 )
2023-11-20 17:36:14 +00:00
Piotr Skalski
42661a0563
Merge pull request #612 from karanjakhar/fixing-typos
...
fixing typo TRACE -> TRACK
2023-11-20 12:25:51 +01:00
SkalskiP
32077eb11d
Bump version in pyproject.toml
...
The version in the pyproject.toml file has been updated from 0.17.0rc2 to 0.17.0rc3.
2023-11-20 12:21:37 +01:00
karanjakhar
d20083de85
fixing typo TRACE -> TRACK
2023-11-20 15:32:18 +05:30
dependabot[bot]
564f1b1026
⬆️ Bump ruff from 0.1.5 to 0.1.6
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.5 to 0.1.6.
- [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.5...v0.1.6 )
---
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-20 01:09:24 +00:00
Piotr Skalski
145313ab8f
Merge pull request #606 from xenteros/feature/Make_sv.MaskAnnotator_as_fast_as_annotators_in_popular_detection_frameworks_#472
...
Feature/make sv.mask annotator as fast as annotators in popular detection frameworks #472
2023-11-17 17:20:22 +01:00
xenteros
1267cf7fb0
Reformatted Code with pre-commit
2023-11-16 22:34:52 +01:00
xenteros
c2101db5d2
Optimize sv.MaskAnnotator by reducing number of calls to cv2.addWeighted
...
* Combined all colored masks before applying them to the scene
* Made sure that returned ndarray is np.uint8 for video writer simplicity
2023-11-16 22:27:32 +01:00
Piotr Skalski
fe4657f0d0
Merge pull request #605 from roboflow/feature/add_center_of_mass_text_positioning
...
Add centroid calculation for binary masks
2023-11-16 16:26:57 +01:00
SkalskiP
6c756c411b
Add calculate_masks_centroids function import in __init__.py
2023-11-16 16:25:48 +01:00
SkalskiP
0725d5a1a9
Cast get_anchors_coordinates return to integer.
2023-11-16 15:50:37 +01:00
SkalskiP
fa3b43f20a
Merge remote-tracking branch 'origin/feature/add_center_of_mass_text_positioning' into feature/add_center_of_mass_text_positioning
2023-11-16 15:37:17 +01:00
SkalskiP
5e091396f2
Refactor center_coordinates conversion to tuple
2023-11-16 15:36:36 +01:00
pre-commit-ci[bot]
66448ea862
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-16 14:33:57 +00:00
SkalskiP
b33d68da00
Merge remote-tracking branch 'origin/feature/add_center_of_mass_text_positioning' into feature/add_center_of_mass_text_positioning
...
# Conflicts:
# supervision/annotators/core.py
2023-11-16 15:31:56 +01:00
SkalskiP
6956dad17d
Swap enumeration arguments in loop
2023-11-16 15:30:03 +01:00
pre-commit-ci[bot]
b92ffeff82
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-16 14:24:19 +00:00
SkalskiP
7750856c18
Fix method names and improve code formatting
...
Renamed methods to improve clarity. `get_anchor_coordinates` changed to `get_anchors_coordinates` and `calculate_centroids` changed to `calculate_masks_centroids`. Indentation for method arguments was adjusted in `core.py` and other files for better readability. Functionality remains the same, these changes are meant to improve code maintainability and readability.
2023-11-16 15:23:55 +01:00
pre-commit-ci[bot]
72ab46687f
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-11-16 12:59:16 +00:00
SkalskiP
50e561a4fb
Add centroid calculation for binary masks
...
Added `calculate_centroids` function to compute center of mass for binary mask representations. Method added to `utils.py` and method import added to `core.py`. `Position` enumeration updated with `CENTER_OF_MASS` constant. Test function is added with test cases covering different mask scenarios. Update allows for masks to carry center of mass information too, useful in object detection.
2023-11-16 13:52:32 +01:00
Piotr Skalski
bb7695a774
Merge pull request #603 from roboflow/gh-pages-permission-fix
...
fix: 🐞 gh-pages permission fix for deployment
2023-11-15 20:50:58 +01:00
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
James Gallagher
82ed322fba
add timm data loader
2023-11-03 18:25:09 +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
Piotr Skalski
c100c8019a
Merge pull request #552 from roboflow/add-docs-bot
...
Add Kapa documentation bot to supervision docs
2023-10-31 17:23:49 +01:00
Onuralp SEZER
e3e30e305a
Merge pull request #547 from roboflow/dependabot/pip/ruff-0.1.3
...
⬆️ Bump ruff from 0.1.2 to 0.1.3
2023-10-31 18:54:48 +03:00
dependabot[bot]
4a5d850f28
⬆️ Bump ruff from 0.1.2 to 0.1.3
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.2 to 0.1.3.
- [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.2...v0.1.3 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-31 15:53:12 +00:00
Onuralp SEZER
092771d9a1
Merge pull request #545 from roboflow/dependabot/pip/flake8-6.1.0
...
⬆️ Bump flake8 from 6.0.0 to 6.1.0
2023-10-31 18:50:19 +03:00
Onuralp SEZER
321dc054df
Merge pull request #546 from roboflow/dependabot/pip/notebook-7.0.6
...
⬆️ Bump notebook from 6.5.4 to 7.0.6
2023-10-31 18:49:30 +03:00
dependabot[bot]
ec9aae686b
⬆️ Bump notebook from 6.5.4 to 7.0.6
...
Bumps [notebook](https://github.com/jupyter/notebook ) from 6.5.4 to 7.0.6.
- [Release notes](https://github.com/jupyter/notebook/releases )
- [Changelog](https://github.com/jupyter/notebook/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jupyter/notebook/compare/v6.5.4...@jupyter-notebook/tree@7.0.6 )
---
updated-dependencies:
- dependency-name: notebook
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-31 15:48:33 +00:00
Onuralp SEZER
7c2e9842e8
Merge pull request #543 from roboflow/dependabot/pip/pillow-10.1.0
...
⬆️ Bump pillow from 10.0.1 to 10.1.0
2023-10-31 18:47:58 +03:00
Onuralp SEZER
4d3820ba73
Merge pull request #554 from roboflow/dependabot/pip/wheel-0.41.3
...
⬆️ Bump wheel from 0.40.0 to 0.41.3
2023-10-31 18:46:45 +03:00
fdloopes
8b88f1f415
Add space after comma, following pre-commit pattern
2023-10-31 11:50:37 -03:00
Onuralp SEZER
37951b3617
Merge pull request #553 from roboflow/pre-commit-ci-update-config
...
chore(pre_commit): ⬆ pre_commit autoupdate
2023-10-31 14:06:44 +03:00
dependabot[bot]
98fa8339c8
⬆️ Bump wheel from 0.40.0 to 0.41.3
...
Bumps [wheel](https://github.com/pypa/wheel ) from 0.40.0 to 0.41.3.
- [Release notes](https://github.com/pypa/wheel/releases )
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst )
- [Commits](https://github.com/pypa/wheel/compare/0.40.0...0.41.3 )
---
updated-dependencies:
- dependency-name: wheel
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-31 01:05:37 +00:00
pre-commit-ci[bot]
030359cb44
chore(pre_commit): ⬆ pre_commit autoupdate
...
updates:
- [github.com/psf/black: 23.10.0 → 23.10.1](https://github.com/psf/black/compare/23.10.0...23.10.1 )
- [github.com/astral-sh/ruff-pre-commit: v0.1.1 → v0.1.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.1...v0.1.3 )
2023-10-30 17:39:35 +00:00
pre-commit-ci[bot]
9f265b4833
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-30 15:15:15 +00:00
James Gallagher
c036aa9bd6
add kapa bot
2023-10-30 15:13:33 +00:00
fdloopes
7f69f6a168
Add np.maximum when retrieving detections coordinates within the BlurAnnotator.annotate() method.
2023-10-30 10:26:09 -03:00
Piotr Skalski
d76dd771d7
Merge pull request #462 from Rajarshi-Misra/develop
...
Builds: Create "How to: track objects" docs page #442
2023-10-28 01:14:34 +02:00
pre-commit-ci[bot]
21fe102bbd
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-27 23:12:26 +00:00
SkalskiP
769f97cd7d
Update object tracking documentation
...
Revise the contents of the 'How to Track Objects' documentation covering the use of supervision for object tracking in video analysis. The revision offers a more detailed guide, including running inference, tracking objects, annotating videos with unique tracking IDs, and annotating videos with traces. The new guide provides a structured walkthrough and tutorial on using Supervision's functionalities, aimed at helping users to annotate videos more effectively and understand the movement patterns and interactions of objects in the videos.
2023-10-28 01:12:09 +02:00
Onuralp SEZER
2de3e171f3
Merge pull request #542 from roboflow/dependabot/pip/pytest-7.4.3
...
⬆️ Bump pytest from 7.4.2 to 7.4.3
2023-10-26 07:20:56 +03:00
Onuralp SEZER
6a4bfcf094
Merge pull request #541 from roboflow/dependabot/pip/black-23.10.1
...
⬆️ Bump black from 23.7.0 to 23.10.1
2023-10-26 07:20:36 +03:00
dependabot[bot]
82e35479e7
⬆️ Bump flake8 from 6.0.0 to 6.1.0
...
Bumps [flake8](https://github.com/pycqa/flake8 ) from 6.0.0 to 6.1.0.
- [Commits](https://github.com/pycqa/flake8/compare/6.0.0...6.1.0 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-26 00:26:40 +00:00
dependabot[bot]
3356defe95
⬆️ Bump pillow from 10.0.1 to 10.1.0
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 10.0.1 to 10.1.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/10.0.1...10.1.0 )
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-26 00:25:05 +00:00
dependabot[bot]
c04129f2b8
⬆️ Bump pytest from 7.4.2 to 7.4.3
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.4.2 to 7.4.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.2...7.4.3 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-26 00:24:09 +00:00
dependabot[bot]
22b4444e9e
⬆️ Bump black from 23.7.0 to 23.10.1
...
Bumps [black](https://github.com/psf/black ) from 23.7.0 to 23.10.1.
- [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.7.0...23.10.1 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-26 00:23:12 +00:00
Piotr Skalski
5de77cee7d
Merge pull request #534 from hugoles/patch-1
...
Rename script.sh to setup.sh
2023-10-25 15:15:06 +02:00
Onuralp SEZER
f36b39b543
Merge pull request #537 from roboflow/dependabot/pip/ruff-0.1.2
...
⬆️ Bump ruff from 0.1.1 to 0.1.2
2023-10-25 14:23:04 +03:00
dependabot[bot]
8e91c62103
⬆️ Bump ruff from 0.1.1 to 0.1.2
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.1.1 to 0.1.2.
- [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.1...v0.1.2 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-25 11:18:29 +00:00
Onuralp SEZER
ab0612917b
Merge pull request #538 from roboflow/dependabot/pip/matplotlib-3.7.3
...
⬆️ Bump matplotlib from 3.7.2 to 3.7.3
2023-10-25 14:16:36 +03:00
Onuralp SEZER
4f31cf9f46
Merge pull request #536 from roboflow/dependabot/pip/opencv-python-headless-4.8.1.78
...
⬆️ Bump opencv-python-headless from 4.8.0.74 to 4.8.1.78
2023-10-25 14:15:58 +03:00
Onuralp SEZER
d563d5db03
Merge pull request #535 from roboflow/dependabot/pip/mkdocstrings-0.23.0
...
⬆️ Bump mkdocstrings from 0.20.0 to 0.23.0
2023-10-25 14:15:08 +03:00
Onuralp SEZER
f309b43c68
Merge pull request #539 from roboflow/dependabot/pip/pre-commit-3.5.0
...
⬆️ Bump pre-commit from 3.3.3 to 3.5.0
2023-10-25 14:14:32 +03:00
dependabot[bot]
b17003855c
⬆️ Bump pre-commit from 3.3.3 to 3.5.0
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 3.3.3 to 3.5.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.3.3...v3.5.0 )
---
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-25 00:44:21 +00:00
dependabot[bot]
45a1905812
⬆️ Bump matplotlib from 3.7.2 to 3.7.3
...
Bumps [matplotlib](https://github.com/matplotlib/matplotlib ) from 3.7.2 to 3.7.3.
- [Release notes](https://github.com/matplotlib/matplotlib/releases )
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.7.2...v3.7.3 )
---
updated-dependencies:
- dependency-name: matplotlib
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-25 00:43:41 +00:00
dependabot[bot]
cbcd0be74c
⬆️ Bump opencv-python-headless from 4.8.0.74 to 4.8.1.78
...
Bumps [opencv-python-headless](https://github.com/opencv/opencv-python ) from 4.8.0.74 to 4.8.1.78.
- [Release notes](https://github.com/opencv/opencv-python/releases )
- [Commits](https://github.com/opencv/opencv-python/commits )
---
updated-dependencies:
- dependency-name: opencv-python-headless
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-25 00:42:13 +00:00
dependabot[bot]
bda80934cc
⬆️ Bump mkdocstrings from 0.20.0 to 0.23.0
...
Bumps [mkdocstrings](https://github.com/mkdocstrings/mkdocstrings ) from 0.20.0 to 0.23.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.20.0...0.23.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-10-25 00:41:33 +00:00
Hugo Dutra
b77bab39de
Rename script.sh to setup.sh
...
changing the file name.
2023-10-24 12:37:52 -03:00
Onuralp SEZER
599a9b8a5b
Merge pull request #531 from roboflow/dependabot/pip/ruff-0.1.1
...
⬆️ Bump ruff from 0.0.280 to 0.1.1
2023-10-24 17:23:59 +03:00
Piotr Skalski
b9dbbbc0ec
Merge pull request #533 from roboflow/assets-fix
...
Assets fix
2023-10-24 16:16:30 +02:00
pre-commit-ci[bot]
337abe1e71
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-24 14:15:07 +00:00
SkalskiP
9ece846f8e
Update project version in pyproject.toml
...
Increased the version of the project from "0.17.0rc1" to "0.17.0rc2" in the 'pyproject.toml' file.
2023-10-24 16:11:46 +02:00
dependabot[bot]
c23d00566b
⬆️ Bump ruff from 0.0.280 to 0.1.1
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.0.280 to 0.1.1.
- [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.0.280...v0.1.1 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-24 14:11:27 +00:00
SkalskiP
6837ef1d36
Refactor asset imports and improve documentation
...
Updated the import statements in the `supervision/assets/__init__.py`, `supervision/assets/downloader.py`, and `supervision/assets/list.py` files to use absolute paths for improved readability and reduced risk of import errors. Also added a usage example to the `download_assets` function to better illustrate its usage and return value.
2023-10-24 16:10:37 +02:00
Onuralp SEZER
26990513ba
Merge pull request #528 from roboflow/dependabot/pip/build-1.0.3
...
⬆️ Bump build from 0.10.0 to 1.0.3
2023-10-24 17:09:44 +03:00
Onuralp SEZER
bdf527809d
Merge pull request #532 from roboflow/dependabot/pip/opencv-python-4.8.1.78
...
⬆️ Bump opencv-python from 4.8.0.74 to 4.8.1.78
2023-10-24 17:09:18 +03:00
dependabot[bot]
23a71e6f51
⬆️ Bump build from 0.10.0 to 1.0.3
...
Bumps [build](https://github.com/pypa/build ) from 0.10.0 to 1.0.3.
- [Release notes](https://github.com/pypa/build/releases )
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pypa/build/compare/0.10.0...1.0.3 )
---
updated-dependencies:
- dependency-name: build
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-24 14:02:20 +00:00
dependabot[bot]
e61f1718a0
⬆️ Bump opencv-python from 4.8.0.74 to 4.8.1.78
...
Bumps [opencv-python](https://github.com/opencv/opencv-python ) from 4.8.0.74 to 4.8.1.78.
- [Release notes](https://github.com/opencv/opencv-python/releases )
- [Commits](https://github.com/opencv/opencv-python/commits )
---
updated-dependencies:
- dependency-name: opencv-python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-24 14:00:32 +00:00
Onuralp SEZER
bb79eebdae
Merge pull request #530 from roboflow/dependabot/pip/mkdocs-material-9.4.6
...
⬆️ Bump mkdocs-material from 9.1.19 to 9.4.6
2023-10-24 17:00:17 +03:00
Onuralp SEZER
cdb74c1b19
Merge pull request #529 from roboflow/dependabot/pip/pytest-7.4.2
...
⬆️ Bump pytest from 7.4.0 to 7.4.2
2023-10-24 16:59:15 +03:00
dependabot[bot]
b1ceb1debf
⬆️ Bump mkdocs-material from 9.1.19 to 9.4.6
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 9.1.19 to 9.4.6.
- [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.1.19...9.4.6 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-24 13:59:09 +00:00
Onuralp SEZER
9fe343942f
Merge pull request #526 from roboflow/dependabot/github_actions/actions/first-interaction-1.2.0
...
⬆️ Bump actions/first-interaction from 1.1.1 to 1.2.0
2023-10-24 16:58:35 +03:00
Onuralp SEZER
b08d40cad4
Merge pull request #527 from roboflow/dependabot/github_actions/actions/checkout-4
...
⬆️ Bump actions/checkout from 3 to 4
2023-10-24 16:58:05 +03:00
dependabot[bot]
46a50e9595
⬆️ Bump pytest from 7.4.0 to 7.4.2
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.4.0 to 7.4.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.0...7.4.2 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-24 13:57:57 +00:00
dependabot[bot]
7001721872
⬆️ Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-24 13:56:24 +00:00
dependabot[bot]
8c2d18d752
⬆️ Bump actions/first-interaction from 1.1.1 to 1.2.0
...
Bumps [actions/first-interaction](https://github.com/actions/first-interaction ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/actions/first-interaction/releases )
- [Commits](https://github.com/actions/first-interaction/compare/v1.1.1...v1.2.0 )
---
updated-dependencies:
- dependency-name: actions/first-interaction
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-24 13:56:19 +00:00
Piotr Skalski
fc8e2e2889
Merge pull request #479 from roboflow/dependabot-bot-add
...
ci(dependabot): 🤖 create dependabot.yml config for update github actions and python packages automatically.
2023-10-24 15:55:57 +02:00
Onuralp SEZER
14dfb32f44
Merge pull request #476 from roboflow/asset-addon
...
feat(assets): ✨ assets and assets downloader add-on for supervision[assets]
2023-10-24 16:53:38 +03:00
Piotr Skalski
8aee70872f
Merge branch 'develop' into asset-addon
2023-10-24 15:50:56 +02:00
SkalskiP
671c8b3683
Update asset list and project version
2023-10-24 15:49:32 +02:00
SkalskiP
edaef0b165
Merge remote-tracking branch 'origin/asset-addon' into asset-addon
2023-10-24 15:42:14 +02:00
SkalskiP
28fb656bca
Update docstring formatting in VideoAssets enum
...
Updated the docstring comment's format inside the VideoAssets enum in supervision/assets/list.py. The update aligns with PEP 8 E501 error code that requires line too long (>80 characters).
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-10-24 16:40:26 +03:00
SkalskiP
e9866c2f25
"Add instructions for assets utility installation
...
Expanded the documentation to include instructions on how to install and use the Supervision assets utility. Instructions include steps for performing the installation using pip, allowing users to easily download video files for their demos.
2023-10-24 15:40:19 +02:00
SkalskiP
e59d1bc9f3
Merge remote-tracking branch 'origin/asset-addon' into asset-addon
...
# Conflicts:
# supervision/assets/list.py
2023-10-24 15:37:53 +02:00
SkalskiP
b6001e389e
Update docstring formatting in VideoAssets enum
...
Updated the docstring comment's format inside the VideoAssets enum in supervision/assets/list.py. The update aligns with PEP 8 E501 error code that requires line too long (>80 characters).
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-10-24 16:07:48 +03:00
SkalskiP
c529402068
Update docstring formatting in VideoAssets enum
...
Updated the docstring comment's format inside the VideoAssets enum in supervision/assets/list.py. The update aligns with PEP 8 E501 error code that requires line too long (>80 characters).
2023-10-24 15:05:00 +02:00
SkalskiP
9d68ee6a1e
Merge remote-tracking branch 'origin/asset-addon' into asset-addon
2023-10-24 15:04:02 +02:00
SkalskiP
999c12162a
Refactor imports in downloader.py
...
The 'Response' imported module from 'requests' in downloader.py is not needed.
2023-10-24 15:03:54 +02:00
pre-commit-ci[bot]
7d3082c93b
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-24 13:01:25 +00:00
SkalskiP
4cb7400c75
Merge remote-tracking branch 'origin/asset-addon' into asset-addon
2023-10-24 15:01:12 +02:00
SkalskiP
3f5f5fb070
Rename asset_list.py and update VideoAssets enumeration
...
The file asset_list.py has been renamed to list.py for better readability and simplicity. In the VideoAssets enumeration, additional information has been included. This includes specific details for each member of the enum, notably the filename of the related video and its URL.
2023-10-24 15:01:03 +02:00
pre-commit-ci[bot]
8689c294bf
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-24 12:34:28 +00:00
SkalskiP
3391eec078
Refactor and improve readability of downloader.py
...
The code for the downloader function in the supervision/assets/downloader.py file has been refactored and optimized. Package imports were cleaned up to remove unnecessary functions and the "path_exists" and "os_remove" functions were replaced with their pathlib equivalents to improve consistency.
2023-10-24 14:31:31 +02:00
SkalskiP
6887b0b412
"Correct md5 hash reference in downloader script
...
Updated the reference for the md5 hash in downloader.py.
2023-10-24 14:25:11 +02:00
SkalskiP
a36abd4297
"Fix reference bug in video asset downloader
...
Updated 'asset_name' to 'filename' in downloader.py. The downloader was using the incorrect variable 'asset_name', causing failed video asset downloads. Correcting to 'filename' allows for accurate md5 check and download."
2023-10-24 14:21:58 +02:00
SkalskiP
7715ef2a17
The downloader was incorrectly using 'asset_name' instead of 'filename' leading to missed video asset downloads. The reference has been corrected to use 'filename' for proper checking and downloading.
2023-10-24 14:16:46 +02:00
SkalskiP
9b3dc37e28
Merge remote-tracking branch 'origin/asset-addon' into asset-addon
2023-10-24 14:14:26 +02:00
SkalskiP
24aefe6bcd
Fix asset name checking in downloader module
2023-10-24 14:12:45 +02:00
pre-commit-ci[bot]
52452c019c
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-24 12:04:33 +00:00
SkalskiP
dca6d1248f
Merge remote-tracking branch 'origin/asset-addon' into asset-addon
2023-10-24 14:04:11 +02:00
SkalskiP
03fd015f39
Improve readability and maintainability in downloader.py
2023-10-24 14:04:00 +02:00
pre-commit-ci[bot]
7faddb52ca
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-24 11:23:24 +00:00
SkalskiP
f987e4f786
Refactor video assets enum and variable names
...
Renamed enum and variables to improve clarity for VideoAssets in asset_list.py. For instance, MILK_1 is updated to MILK_BOTTLED_PLANT and PEOPLE_WALKING_BW to PEOPLE_WALKING. Also, the VIDEO_ASSETS dictionary type hint updated to Dict. Additionally, a new method 'list' added to class VideoAssets that returns a list of all enum values.
2023-10-24 13:23:05 +02:00
Onuralp SEZER
a00a752d44
Merge pull request #522 from roboflow/pre-commit-ci-update-config
...
chore(pre_commit): ⬆ pre_commit autoupdate
2023-10-23 20:55:12 +03:00
pre-commit-ci[bot]
8bf721559f
chore(pre_commit): ⬆ pre_commit autoupdate
...
updates:
- [github.com/psf/black: 23.9.1 → 23.10.0](https://github.com/psf/black/compare/23.9.1...23.10.0 )
- [github.com/astral-sh/ruff-pre-commit: v0.0.292 → v0.1.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.292...v0.1.1 )
2023-10-23 17:44:59 +00:00
Piotr Skalski
de45e9d67f
Merge pull request #510 from roboflow/509-mask-annotator-from-sam-error
...
fix(notebook): 🐛 📘 sam detection ColorLookup param and enum added and sv version updated
2023-10-21 12:28:12 +02:00
Onuralp SEZER
b815c0e7fc
fix(notebook): 🐛 📘 sam detection ColorLookup param and enum added and sv version updated
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-10-21 10:36:30 +03:00
Piotr Skalski
c158f96b75
Merge pull request #502 from roboflow/main
...
Merge pull request #493 from roboflow/develop
2023-10-19 12:39:55 +02:00
Piotr Skalski
f34993c202
Merge pull request #493 from roboflow/develop
...
`supervision-0.16.0` release
2023-10-19 10:23:59 +02:00
SkalskiP
f44a9376ec
Update version number in pyproject.toml
...
Updated the version number in pyproject.toml from 0.16.0rc3 to 0.16.0. This denotes the transition from the release candidate to the official version.
2023-10-19 10:22:38 +02:00
Piotr Skalski
48752b432b
Merge pull request #501 from roboflow/feature/0.16.0-changelog
...
Remove custom 404 page and update documentation for new release
2023-10-19 00:44:16 +02:00
pre-commit-ci[bot]
c1797ffd81
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-18 22:42:55 +00:00
SkalskiP
a640e527d0
Remove custom 404 page and update documentation for new release
...
The custom 404.html was removed as it was no longer necessary with the updates to the Mkdocs.yml file. Upgraded the project version from 0.16.0rc2 to 0.16.0rc3 in the pyproject.toml file. Various updates were added to the changelog.md to reflect improvements and bug fixes in the new project release. This includes new annotations, utility improvements, and bug-fixes to improve project functionality.
2023-10-19 00:41:13 +02:00
Piotr Skalski
d894c7814b
Merge pull request #499 from roboflow/feature/add_draw_image_docs
...
Add new drawing methods and improve type hints
2023-10-18 23:13:06 +02:00
pre-commit-ci[bot]
815c43beb8
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-18 21:11:27 +00:00
SkalskiP
2fed8ae0c3
test
2023-10-18 23:10:36 +02:00
pre-commit-ci[bot]
586ff5b3fb
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-18 20:59:14 +00:00
SkalskiP
8b73c12bcc
test
2023-10-18 22:58:58 +02:00
SkalskiP
67d1323daa
Merge remote-tracking branch 'origin/feature/add_draw_image_docs' into feature/add_draw_image_docs
...
# Conflicts:
# supervision/draw/utils.py
2023-10-18 22:56:20 +02:00
SkalskiP
0e6d69cf85
test
2023-10-18 22:56:09 +02:00
pre-commit-ci[bot]
a5c211ff61
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-18 20:54:16 +00:00
SkalskiP
5f5b4da845
Merge remote-tracking branch 'origin/feature/add_draw_image_docs' into feature/add_draw_image_docs
...
# Conflicts:
# supervision/draw/utils.py
2023-10-18 22:53:22 +02:00
SkalskiP
be16b84340
test
2023-10-18 22:53:10 +02:00
pre-commit-ci[bot]
08af18ad41
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-18 20:49:57 +00:00
SkalskiP
caf504c0c9
Merge remote-tracking branch 'origin/feature/add_draw_image_docs' into feature/add_draw_image_docs
2023-10-18 22:49:44 +02:00
SkalskiP
893a19a991
test
2023-10-18 22:49:35 +02:00
pre-commit-ci[bot]
b35a6161dd
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-18 20:46:25 +00:00
SkalskiP
aabca4a4b5
Merge remote-tracking branch 'origin/feature/add_draw_image_docs' into feature/add_draw_image_docs
2023-10-18 22:46:10 +02:00
SkalskiP
57ba059f1c
test
2023-10-18 22:45:58 +02:00
pre-commit-ci[bot]
743f3281a5
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-18 20:33:06 +00:00
SkalskiP
737cb37249
Add new drawing methods and improve type hints
...
Expanded the drawing functionality by adding new utility methods 'draw_image', 'draw_line' and 'draw_rectangle' and imported them in supervision/__init__.py. Updated the documentation of draw/utils, to include 'draw_image'. Improved type hinting in draw/color.py and draw/utils.py. Also, some redundant comments and unnecessary immediate memory freeing line are removed from draw/utils.py to enhance code readability.
2023-10-18 22:31:34 +02:00
Piotr Skalski
78a4e73f25
Merge pull request #449 from mario-dg/watermark_images_videos
...
feat: 🚀 Enable Watermarking images and videos
2023-10-18 22:23:25 +02:00
Piotr Skalski
dc9c1151c5
Merge pull request #498 from roboflow/feature/heat_map_docs_update
...
Add HeatMapAnnotator class to supervision
2023-10-18 21:38:00 +02:00
SkalskiP
5f82aac9e6
Update example images link in core.py and annotators.md
...
The hyperlink to images in the example blocks in `supervision/annotators/core.py`, and `docs/annotators.md` was modified to reflect recent updates to the annotated heat map image.
2023-10-18 21:34:56 +02:00
SkalskiP
d66a539779
Update example code blocks in core.py and annotators.md
...
Code examples in `supervision/annotators/core.py` and `docs/annotators.md` have been updated for clarity and consistency. The changes include renaming variables more appropriately and elaborating on the video processing steps which now includes tracking and annotating frames using a YOLO model. This revision aims to make examples more understandable and consistent for users following the documentation.
2023-10-18 21:25:44 +02:00
SkalskiP
a037a4a404
Add HeatMapAnnotator class to supervision
...
A HeatMapAnnotator class has been added for visualization purposes. This class can be used to draw heatmaps on an image based on provided detections, where the heat accumulates over time and is drawn as a semi-transparent overlay of blurred circles.
2023-10-18 21:17:51 +02:00
Piotr Skalski
871968a916
Merge pull request #466 from kapter/addHeatmapAnnotator
...
New feature HeatmapAnnotator
2023-10-18 20:59:53 +02:00
Piotr Skalski
5ca30f5898
Merge pull request #489 from roboflow/add-new-docs
...
Add How to Detect and Annotate guide
2023-10-18 20:55:03 +02:00
pre-commit-ci[bot]
54bb79c220
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-18 18:51:33 +00:00
SkalskiP
809d8946e6
Update docs on object detection and annotation
...
This commit clarifies the process of object detection and annotation using Supervision and the Ultralytics YOLOv8 model. The changes also include updated instructions on how to load model predictions into Supervision and using them to annotate images, with links to the methods used in the process and the available options. An image showing the resulting annotated image has also been added for better understanding. The changes are shaped to make the documentation more informative, concise, and easy to follow.
2023-10-18 20:50:52 +02:00
Piotr Skalski
e2305e6f57
Merge pull request #496 from roboflow/feature/dot_annotator_docs_update
...
Expand and update `Color`, `ColorPalette`, and `DotAnnotator` classes
2023-10-18 19:05:07 +02:00
SkalskiP
e173510117
Refactor DotAnnotator docstring for clarity
2023-10-18 19:01:54 +02:00
pre-commit-ci[bot]
e209c7436c
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-18 16:57:05 +00:00
SkalskiP
25a45aa423
Expand and update Color, ColorPalette, and DotAnnotator classes
...
Added detailed comments and examples to the Color and ColorPalette classes in supervision/draw/color.py, in addition to the DotAnnotator class in supervision/annotators/core.py. The changes clarify the usage and function of these classes. Also appended to the documentation by creating a new section for Color in docs/draw/color.md and including Color and DotAnnotator in docs/annotators.md. Incorporated the new documentation into the navigation structure in mkdocs.yml for user accessibility. The improvements enhance overall code-readability and understandability.
2023-10-18 18:53:39 +02:00
pre-commit-ci[bot]
b9d1d78f31
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-18 16:45:51 +00:00
kapter
142fe02959
add params for hsv
2023-10-18 19:44:15 +03:00
Piotr Skalski
6815814aec
Merge pull request #492 from PankajKrana/Create_sv.DotMarkerAnnotator_#396
...
Create sv.dot marker annotator #396
2023-10-18 18:16:12 +02:00
pre-commit-ci[bot]
1b6613d4a3
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-18 16:09:41 +00:00
SkalskiP
fabfe0783a
Refactor DotMarkerAnnotator and merge into core annotators
...
The DotMarkerAnnotator class has been refactored and named DotAnnotator for simplicity. It's now part of the core annotators to conform with the project structure. The color lookup on the DotAnnotator now uses the 'color_lookup' parameter, allowing for more flexibility and customization in the colors used for the annotations. All the changes aim to standardize the way different annotators are organized and make color customization easier.
2023-10-18 18:09:13 +02:00
Piotr Skalski
2c4e7589b0
Merge pull request #477 from roboflow/poetry-install-docs-fix
...
docs(fix): 📓 poetry env typo fix
2023-10-18 16:34:59 +02:00
Piotr Skalski
0abe36e079
Merge pull request #490 from roboflow/feature/update_line_zone
...
Add documentation and improvements to "LineZone" functionality
2023-10-18 16:15:38 +02:00
pre-commit-ci[bot]
61809f9329
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-18 13:53:26 +00:00
Pankaj Kumar Rana
69f3d10e42
Merge branch 'roboflow:develop' into Create_sv.DotMarkerAnnotator_#396
2023-10-18 19:13:40 +05:30
pre-commit-ci[bot]
62c45548a6
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-18 12:44:20 +00:00
SkalskiP
00e209744f
Add documentation and improvements to "LineZone" functionality
...
Descriptions for various attributes and functionalities have been added into LineZone class to aid developers in understanding their behaviour. Also, the trigger function was modified to return two separate boolean arrays - 'crossed_in' and 'crossed_out' to denote objects crossing the line in specific directions. Moreover, Line Zone documentation is added to the side navigation in mkdocs.yml.
2023-10-18 14:42:59 +02:00
James Gallagher
8dcfb42751
add data loader link
2023-10-18 13:13:09 +01:00
James Gallagher
a5a853e141
resolve conflict
2023-10-18 13:11:29 +01:00
Piotr Skalski
034c2bd9a8
Merge pull request #482 from abhishek7kalra/linezonetrigger
...
Linezone.trigger returns bool nparray
2023-10-18 13:48:00 +02:00
Piotr Skalski
a7449ba56f
Update README.md
2023-10-18 12:42:26 +02:00
Onuralp SEZER
8f302c0646
Merge pull request #488 from roboflow/dependabot/pip/urllib3-2.0.7
...
Bump urllib3 from 2.0.6 to 2.0.7
2023-10-18 12:26:39 +03:00
pre-commit-ci[bot]
1ddb78b662
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-18 09:22:43 +00:00
James Gallagher
db4afe9885
add how to detect and annotate guide
2023-10-18 10:20:42 +01:00
dependabot[bot]
72a780b74a
Bump urllib3 from 2.0.6 to 2.0.7
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.6...2.0.7 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-17 21:06:21 +00:00
PankajKrana
b2e9a668b2
Create sv.DotMarkerAnnotator #396
2023-10-17 01:48:54 +05:30
Piotr Skalski
57ef24bcb3
Merge pull request #485 from roboflow/domain-change
...
Change domain to supervision.roboflow.com in mkdocs
2023-10-16 14:13:19 +02:00
James Gallagher
eda6909c91
change domain to supervision.roboflow.com in mkdocs
2023-10-16 13:10:52 +01:00
Piotr Skalski
9a9bf62fe0
Merge pull request #484 from roboflow/404-fix
...
Add `/` to mkdocs site_url
2023-10-16 14:09:49 +02:00
James Gallagher
1ab50cdb3c
add / to mkdocs site_url
2023-10-16 13:06:43 +01:00
Onuralp SEZER
f78c282b7e
Add 404 page - PR #483 from roboflow/add-404
2023-10-16 11:13:26 +03:00
pre-commit-ci[bot]
3d843d710d
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-16 08:04:17 +00:00
James Gallagher
75db51aa90
add 404 page
2023-10-16 09:00:12 +01:00
abhishek7kalra
fe8a8260dc
change return type from list to nparray
2023-10-15 19:06:18 +05:30
abhishek7kalra
bf725ef0f7
fix pre-commit
2023-10-15 18:10:54 +05:30
abhishek7kalra
338c589032
LineZone.trigger update to return info
2023-10-15 17:42:40 +05:30
Onuralp SEZER
f3b92163ad
ci(dependabot): ⬆️ create dependabot.yml config for update github actions and python packages automatically
2023-10-14 18:08:46 +03:00
Rajarshi Misra
e71232f6ff
Merge branch 'roboflow:develop' into develop
2023-10-14 13:55:55 +05:30
pre-commit-ci[bot]
9e5d30732d
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-13 22:52:48 +00:00
capjamesg
9c2aaa0d2e
add classification annotator and from_clip loader
2023-10-13 23:50:18 +01:00
Onuralp SEZER
2ab5941cbc
feat(assets): ✨ assets and assets downloader add-on for supervision[assets]
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-10-14 01:39:25 +03:00
Onuralp SEZER
4baf570b28
docs(fix): 📓 poetry env typo fix
2023-10-14 01:12:16 +03:00
Rajarshi Misra
3dbbcf79ae
Final
2023-10-13 22:55:41 +05:30
pre-commit-ci[bot]
47dcb19829
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-13 17:24:29 +00:00
Rajarshi Misra
9c96180a74
Update track_objects.md
2023-10-13 22:53:58 +05:30
Rajarshi Misra
cd76b79ec5
Update track_objects.md
2023-10-13 18:51:53 +05:30
pre-commit-ci[bot]
377b3fdda7
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-13 13:17:02 +00:00
Rajarshi Misra
9572469f5f
Final changes left
2023-10-13 18:46:49 +05:30
kapter
1324cda600
unnecessary function(get_xy) removed
2023-10-13 16:09:24 +03:00
Piotr Skalski
9ded70c8da
Merge pull request #465 from roboflow/feature/annotator-color-lookup-improvements
...
Update color mapping system in detection annotations
2023-10-13 13:34:43 +02:00
Rajarshi Misra
da7c056812
Merge branch 'roboflow:develop' into develop
2023-10-13 15:29:28 +05:30
Piotr Skalski
8cda753334
Merge pull request #469 from roboflow/docs-virtualenv-pip
...
docs: 📓 development virtualenv installation pip upgrade added
2023-10-13 00:27:19 +02:00
Onuralp SEZER
a14159c150
docs: 📓 development virtualenv installation pip upgrade added
2023-10-13 00:56:01 +03:00
pre-commit-ci[bot]
ae00a9d65f
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-12 20:48:20 +00:00
kapter
c51159b598
added HeatmapAnnotator
2023-10-12 23:44:26 +03:00
Rajarshi Misra
b1f207f2ee
Update track_objects.md
...
Added all the subtopics and 'what is tracking'
2023-10-12 22:47:16 +05:30
pre-commit-ci[bot]
476a31fa79
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-12 17:11:59 +00:00
SkalskiP
e1e455f99c
Update color mapping system in detection annotations
...
Adjusted the way colors are applied to detection annotations to allow support for custom color schemes. Modified 'ColorMap' to 'ColorLookup' across multiple files, adding ability to use a color lookup array. This refinement will enable users to assign custom colors to different detection annotations, offering greater flexibility in visual representation of detection data. Updated related tests to reflect these changes.
2023-10-12 19:10:19 +02:00
Rajarshi Misra
f82f297f2e
Update track_objects.md
...
Typo
2023-10-12 19:58:55 +05:30
Rajarshi Misra
9a2a87a170
Just writing the title
2023-10-12 19:58:11 +05:30
Piotr Skalski
5b5e0eb88d
Merge pull request #457 from roboflow/cache-pip
...
ci: 🚧 github action - python cache added 🚀
2023-10-12 14:32:02 +02:00
Onuralp SEZER
d0139f5293
ci: 🚧 clear cache once a month and manual run 🚀
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-10-12 13:44:03 +03:00
Onuralp SEZER
bed7ed45b4
ci: 🚧 python github action cache added 🚀
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-10-12 12:44:48 +03:00
Piotr Skalski
35142fc755
Merge pull request #456 from roboflow/revert-436-develop
...
Revert "#418 Make sv.ByteTrack work with segmentation model "
2023-10-12 01:11:14 +02:00
pre-commit-ci[bot]
f041f0ddcc
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-11 23:09:07 +00:00
Piotr Skalski
253a136f43
Revert " #418 Make sv.ByteTrack work with segmentation model "
2023-10-12 01:08:35 +02:00
SkalskiP
9cefff8627
Supervision Examples guidelines refactor.
2023-10-11 17:03:37 +02:00
Piotr Skalski
f2af290166
Merge pull request #344 from onuralpszr/examples_improvements
...
Adding example and example guidelines
2023-10-11 15:06:50 +02:00
Piotr Skalski
988da89bf4
Merge pull request #454 from jayaBalaR/patch-1
...
Adding HuggingFace Annotators Space link to `README.md`
2023-10-11 12:12:37 +02:00
JAYABALAMBIKA.R
b4a8859616
Update README.md
...
Adding HuggingFace Annotators Space link to README.md
2023-10-11 15:34:17 +05:30
Piotr Skalski
9fff77a6e3
Merge pull request #448 from roboflow/pre-commit-isort-duplicate
...
chore: 🔥 remove duplicate isort from pre-commit-config
2023-10-10 11:41:45 +02:00
pre-commit-ci[bot]
e7f95e0761
chore(pre_commit): ⬆ pre_commit autoupdate ( #445 )
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-10 11:28:50 +03:00
Onuralp SEZER
2254e59bdf
chore: 🔥 remove duplicate isort from pre-commit-config
2023-10-10 11:26:53 +03:00
Mario da Graca
6a0482ded5
Fixed pre-commit issues
2023-10-10 08:24:29 +02:00
SkalskiP
29532db02f
Update version number in pyproject.toml
...
Upgraded project version from "0.16.0rc1" to "0.16.0rc2" in pyproject.toml.
2023-10-09 19:59:55 +02:00
Piotr Skalski
8eb827b31d
Merge pull request #437 from ashishdatta/from_roboflow_tracker_id
...
Update sv.Detections.from_roboflow to extract tracker_id values from inference response
2023-10-09 19:58:50 +02:00
Piotr Skalski
33e43bc92a
Merge pull request #444 from roboflow/fix/halo-annotator-docs
...
Update example images and modify code parameters
2023-10-09 16:24:26 +02:00
SkalskiP
8b5b0a8516
Bump project version in pyproject.toml
...
The project version has been upgraded from "0.15.0" to "0.16.0rc1" in the pyproject.toml file. This change signifies the start of a new release candidate cycle.
2023-10-09 16:20:16 +02:00
pre-commit-ci[bot]
9a7b4c34ba
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-09 14:17:52 +00:00
SkalskiP
b2ab398029
Update example images and modify code parameters
2023-10-09 16:15:35 +02:00
mario-dg
082f248159
feat: 🚀 watermarking images and videos
2023-10-09 15:42:54 +02:00
Piotr Skalski
72463f5f89
Update README.md
2023-10-09 15:31:20 +02:00
Piotr Skalski
83342ca36f
Merge pull request #433 from kapter/HaloAnnotator
...
new feature HaloAnnotator
2023-10-09 14:57:10 +02:00
Piotr Skalski
48851b5ae5
Merge pull request #436 from AntonioConsiglio/develop
...
#418 Make sv.ByteTrack work with segmentation model
2023-10-09 14:18:31 +02:00
SkalskiP
e5894df156
Reorganize documentation structure and reformat code
...
Moved advanced filtering documentation to `how_to` directory from `quickstart` to make way for more comprehensive starter guide. Reorganized MkDocs configuration accordingly. Formatted some code in `classification/core.py` and `dataset/core.py` for better readability. Added placeholder files in `how_to` for future guides on object detection, video processing, object tracking, model evaluation, and detections filtering.
2023-10-09 13:41:56 +02:00
pre-commit-ci[bot]
49d268c250
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-09 11:13:48 +00:00
Antonio Consiglio
a7a7dac216
Merge branch 'develop' of https://github.com/AntonioConsiglio/supervision into develop
2023-10-09 13:13:32 +02:00
Antonio Consiglio
8bca45bde4
style and doc change as requested
2023-10-09 13:13:28 +02:00
Piotr Skalski
282db45c00
Merge pull request #440 from roboflow/removal_makefile
...
chore: 🔥 delete redundant Makefile because pypi and formatters are automatic.
2023-10-09 12:18:54 +02:00
Onuralp SEZER
1c5006c013
chore: 🔥 delete Makefile, pypi and formatters has been automatic, we don't need this file anymore
2023-10-09 13:12:55 +03:00
SkalskiP
9b4fa8cb89
Remove redundant file
...
The file was removed because it was no longer needed in the current implementation.
2023-10-09 12:03:18 +02:00
Piotr Skalski
333408d33a
Merge pull request #438 from roboflow/remove_old_yolov8
...
chore!: 🔥 removal from_yolov8 function from classification and detection
2023-10-09 12:00:21 +02:00
SkalskiP
41a19ac4d6
Remove unnecessary empty line in core.py
2023-10-09 11:58:21 +02:00
pre-commit-ci[bot]
fe0df11918
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-09 09:52:13 +00:00
SkalskiP
375b5f8f54
Remove deprecated method from_yolov8 in Classification class
...
The method 'from_yolov8' was deprecated and was scheduled for removal in 0.16.0 release. The users are encouraged to use the more general method 'from_ultralytics' which supports results from any Ultralytics engine.
2023-10-09 11:51:56 +02:00
Onuralp SEZER
18fe2e99de
chore!: 🔥 removal from_yolov8
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-10-08 19:52:33 +03:00
pre-commit-ci[bot]
a83d3b4c7e
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-07 20:12:29 +00:00
kapter
89c9f88aeb
add kernel size var and change method of overlay
2023-10-07 23:12:11 +03:00
ashishdatta
6ef7bf31d3
formatting
2023-10-07 10:32:25 -07:00
ashishdatta
c3a025cc9d
Extending testing to support tracker_id field.
...
Cases covered:
empty
non-empty without tracker_id key
non-empty with tracker_id key and None value
non-empty with tracker_id key and non-None value
2023-10-07 10:27:40 -07:00
ashishdatta
f489f944b8
Extending from_roboflow to support tracker_ids
2023-10-07 10:26:04 -07:00
ashishdatta
cfb1e0ea60
Inference module now supports tracking detected objcets, extending process_roboflow_result to support that.
2023-10-07 10:24:26 -07:00
pre-commit-ci[bot]
5efd535e9d
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-07 17:20:31 +00:00
Antonio Consiglio
a550aaa812
Merge branch 'develop' of https://github.com/AntonioConsiglio/supervision into develop
2023-10-07 19:15:04 +02:00
Antonio Consiglio
30994243ae
Make sv.ByteTrack work with segmentation model#418
2023-10-07 19:15:03 +02:00
pre-commit-ci[bot]
99707582bc
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-07 17:08:17 +00:00
Antonio Consiglio
c0b87a6f04
Make sv.ByteTrack work with segmentation model#418
2023-10-07 19:03:30 +02:00
Piotr Skalski
d30d80717c
Merge pull request #422 from hardikdava/box_mask_annotator
...
Added box mask annotators
2023-10-07 00:47:09 +02:00
Piotr Skalski
4733ebe27d
Merge pull request #432 from roboflow/fix/fps_monitor_docs
...
Move FpsMonitor from utils to video module
2023-10-07 00:35:06 +02:00
pre-commit-ci[bot]
44e4eeaa69
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-06 22:33:32 +00:00
pre-commit-ci[bot]
2952286f95
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-06 22:25:02 +00:00
SkalskiP
c5e1211c74
Move FpsMonitor from utils to video module
...
This commit relocates the FpsMonitor class from the utils module to the video module.
2023-10-07 00:24:20 +02:00
kapter
72dc07e332
added HaloAnnotator
2023-10-07 01:11:49 +03:00
Piotr Skalski
c5c37e4a6c
Merge pull request #430 from akashpambhar/fix-return-empty-detections
...
Fix return value when sv.Detections is empty
2023-10-07 00:04:04 +02:00
Piotr Skalski
8000043bc8
Update supervision/tracker/byte_tracker/core.py
2023-10-07 00:01:24 +02:00
Akash Pambhar
14d0189e2c
Fix return value when sv.Detections is empty
2023-10-07 00:51:08 +05:30
Hardik Dava
68a761349d
Merge pull request #411 from roboflow/add-colormap-to-init
...
fix(import): 🐞 add ColorMap into init.py
2023-10-06 21:19:29 +02:00
Onuralp SEZER
d5d5725cea
Merge pull request #280 from hardikdava/feature/fps
...
Feature FPS meaure
2023-10-06 22:18:05 +03:00
pre-commit-ci[bot]
669c0658fe
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-06 18:54:41 +00:00
SkalskiP
bed28e3db4
Improve the documentation for annotators class
2023-10-06 20:54:09 +02:00
pre-commit-ci[bot]
cc93bba741
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-06 18:52:00 +00:00
SkalskiP
e7c242bdd4
Update annotators in docs and code
2023-10-06 20:51:31 +02:00
SkalskiP
89c1b63979
Optimize color assignment in mask annotation
2023-10-06 19:24:10 +02:00
Piotr Skalski
456655c2a4
Merge pull request #426 from kapter/Make-MaskAnnotator-faster
...
faster sv.MaskAnnotator
2023-10-06 18:15:37 +02:00
Piotr Skalski
f67a67bd7c
Merge pull request #425 from roboflow/discord-button
...
Add Discord button to README
2023-10-06 11:56:00 +02:00
James Gallagher
30687609f5
update button
2023-10-06 09:51:56 +01:00
Piotr Skalski
ab1b2d6d80
🎃 Add hacktoberfest banner to README.md
2023-10-06 10:41:56 +02:00
pre-commit-ci[bot]
5c6323bed0
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-06 08:00:00 +00:00
kapter
d2fe2ad40c
10 percent speed up and no ver
2023-10-06 10:58:43 +03:00
pre-commit-ci[bot]
5aaa15c894
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-10-05 23:13:12 +00:00
kapter
4bb62f06ff
add ma ver
2023-10-06 01:51:19 +03:00
kapter
4e7a763ad9
faster maskannotator
2023-10-06 01:22:08 +03:00
James
cb225b26e8
Update README.md
2023-10-05 19:01:19 +01:00
Keshav Subramanian and keshav278
07ec604102
add #a351fb as first default color into sv.draw.color.ColorPalette ( #424 )
...
Co-authored-by: keshav278 <vkeshav278@gmail.com >
2023-10-05 20:04:48 +03:00
Hardik Dava
ef43640c88
Added box mask annotators
2023-10-05 17:56:32 +02:00
Piotr Skalski
77c126e421
Merge pull request #416 from roboflow/notebook-fixes
...
Supervision demo notebook fix and yolo-nas fix
2023-10-05 15:18:13 +02:00
Onuralp SEZER
edd8b8f41e
fix(formatter): 🐛 exclude ipynb for pretty-format-json formatter
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-10-05 15:36:13 +03:00
Onuralp SEZER
cad38104e0
fix(notebook): 🐛 📘 sam detection and sv version update
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-10-05 15:23:47 +03:00
Onuralp SEZER
618fadae2a
fix(detection): 🐞 yolo-nas detection check fix
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-10-05 15:22:45 +03:00
Piotr Skalski
71d23619b0
Merge pull request #412 from roboflow/main
...
Merge pull request #404 from roboflow/develop
2023-10-05 09:24:56 +02:00
Onuralp SEZER
a57176568a
fix(import): 🐞 add ColorMap into init.py
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-10-05 01:10:26 +03:00
Hardik Dava
b482784403
Merge branch 'develop' into feature/fps
2023-10-03 17:57:53 +02:00
Hardik Dava
3b00e04101
Merge remote-tracking branch 'origin/develop' into feature/fps
2023-10-03 17:53:52 +02:00
Onuralp SEZER
227615b766
fix: 🐛 exclude examples folder from package
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-08-31 20:08:29 +03:00
Onuralp SEZER
baff75332f
docs: 📝 example guide visual rules and license rule added
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-08-31 20:03:02 +03:00
Onuralp SEZER
434a695324
docs: 📝 example guidelines added
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-08-31 19:54:08 +03:00
Hardik Dava
5d71ab2961
Make with black again
2023-08-11 14:18:25 +02:00
Hardik Dava
5c9e529743
Make with isort
2023-08-11 14:15:47 +02:00
Hardik Dava
3f7043e780
Make with Black
2023-08-11 14:13:17 +02:00
Hardik Dava
c746a7f9e4
docs added
2023-08-11 14:08:52 +02:00
Hardik Dava
04629cd7f4
initial commit
2023-08-11 14:07:14 +02:00