Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
361 commits
Select commit Hold shift + click to select a range
14761cb
fix `test_detections_from_xml_obj`
SkalskiP Dec 29, 2023
63ccc98
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Dec 29, 2023
c241237
Merge remote-tracking branch 'origin/feature/extend-detections-with-d…
SkalskiP Dec 29, 2023
9be71da
handle one more edge case in `Detections.merge` logic
SkalskiP Dec 29, 2023
db245bb
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Dec 29, 2023
95e2ad6
refactor of `core.py`; moving utils to `utils.py`
SkalskiP Dec 29, 2023
955220f
Merge remote-tracking branch 'origin/feature/extend-detections-with-d…
SkalskiP Dec 29, 2023
ea21a75
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Dec 29, 2023
50f3de3
:arrow_up: Bump mkdocs-material from 9.5.2 to 9.5.3 (#691)
dependabot[bot] Dec 29, 2023
099d360
better `Detections.merge` docs + more `Detections.merge` tests
SkalskiP Dec 29, 2023
5984d33
better `Detections.merge` validation
SkalskiP Dec 29, 2023
e75e527
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Dec 29, 2023
310a098
Remove unused tracker_length
yeldarby Dec 29, 2023
d3cbad4
:arrow_up: Bump pytest from 7.4.3 to 7.4.4
dependabot[bot] Jan 1, 2024
b300c59
Merge pull request #704 from roboflow/dependabot/pip/pytest-7.4.4
onuralpszr Jan 1, 2024
ced9f35
initial `Detections.__getitem__` implementation
SkalskiP Jan 2, 2024
5169481
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 2, 2024
a10b984
initial `Detections.__iter__` implementation
SkalskiP Jan 2, 2024
8e40fa8
Merge remote-tracking branch 'origin/feature/extend-detections-with-d…
SkalskiP Jan 2, 2024
0f63966
initial `Detections.__setitem__` implementation + `Detections.__getit…
SkalskiP Jan 2, 2024
e3d92a0
ready for colab tests
SkalskiP Jan 2, 2024
8528a8a
Merge pull request #700 from roboflow/feature/extend-detections-with-…
SkalskiP Jan 2, 2024
706ff0f
initial update of `process_roboflow_result` function
SkalskiP Jan 2, 2024
d35f188
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 2, 2024
1001448
:arrow_up: Bump pillow from 10.1.0 to 10.2.0
dependabot[bot] Jan 3, 2024
0d10704
improve `from_roboflow` docstring
SkalskiP Jan 3, 2024
f4d2f2a
use `CLASS_NAME_DATA_FIELD` data constant over 'class_name' string
SkalskiP Jan 3, 2024
80d1df7
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 3, 2024
1b386a4
Merge pull request #705 from roboflow/feature/extract-class-name-from…
SkalskiP Jan 3, 2024
11cd92e
update `sv.LabelAnnotator` to respect optional `'class_name'` `sv.Det…
SkalskiP Jan 3, 2024
9e34cbb
Merge pull request #708 from roboflow/feature/update-label-annotator-…
SkalskiP Jan 3, 2024
2e491a8
Merge branch 'develop' into feature/from-roboflow-base-model
SkalskiP Jan 4, 2024
8a32a9c
Update `README.md` example
SkalskiP Jan 4, 2024
f86cd51
Update README.md
SkalskiP Jan 4, 2024
53803c7
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 4, 2024
ace32ee
improve `Detections` docstrings
SkalskiP Jan 4, 2024
9c1f060
traffic analysis example cleanup
SkalskiP Jan 4, 2024
2682907
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 4, 2024
0acd408
traffic analysis example cleanup
SkalskiP Jan 4, 2024
b5f9cdf
Merge remote-tracking branch 'origin/feature/from-roboflow-base-model…
SkalskiP Jan 4, 2024
5b174ea
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 4, 2024
1ad9ee1
tracking example cleanup
SkalskiP Jan 4, 2024
9862f40
Merge remote-tracking branch 'origin/feature/from-roboflow-base-model…
SkalskiP Jan 4, 2024
a5c0949
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 4, 2024
7023bb9
count people in zone example cleanup
SkalskiP Jan 4, 2024
c9be752
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 4, 2024
bdaee3f
update Detect and annotate guide
SkalskiP Jan 4, 2024
c963a2e
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 4, 2024
be57c88
make ruff happy
SkalskiP Jan 4, 2024
8348f59
Merge remote-tracking branch 'origin/feature/from-roboflow-base-model…
SkalskiP Jan 4, 2024
7cde087
update `Track Objects` docs page
SkalskiP Jan 4, 2024
de10b25
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 4, 2024
8506147
Merge pull request #677 from roboflow/feature/from-roboflow-base-model
SkalskiP Jan 4, 2024
030189e
:arrow_up: Bump ruff from 0.1.9 to 0.1.11
dependabot[bot] Jan 4, 2024
77f17a3
Merge pull request #707 from roboflow/dependabot/pip/ruff-0.1.11
onuralpszr Jan 4, 2024
e1ef7aa
Merge pull request #706 from roboflow/dependabot/pip/pillow-10.2.0
onuralpszr Jan 4, 2024
5df9730
🚗💨💨💨 speed estimation example initial commit
SkalskiP Jan 4, 2024
2e9b2a1
detection, tracking and annotation added
SkalskiP Jan 4, 2024
7e8d44a
dropping idea of using lines to calculate speed
SkalskiP Jan 4, 2024
d83547e
initial working version
SkalskiP Jan 4, 2024
13fc3f7
:arrow_up: Bump pytest from 7.4.3 to 7.4.4
dependabot[bot] Jan 5, 2024
6dcd947
:arrow_up: Bump mkdocs-material from 9.5.2 to 9.5.3
dependabot[bot] Jan 5, 2024
e53c804
:arrow_up: Bump mypy from 1.7.1 to 1.8.0
dependabot[bot] Jan 5, 2024
3e6c179
current version
SkalskiP Jan 5, 2024
893dbe0
Merge pull request #711 from roboflow/dependabot/pip/pytest-7.4.4
onuralpszr Jan 5, 2024
4c16af5
Merge pull request #713 from roboflow/dependabot/pip/mypy-1.8.0
onuralpszr Jan 5, 2024
e9ba3ca
Merge pull request #712 from roboflow/dependabot/pip/mkdocs-material-…
onuralpszr Jan 5, 2024
7b7a734
docs: 📝 RoundBoundingBox documentations and small change on code section
onuralpszr Jan 5, 2024
98c0b8c
Merge branch 'develop' into develop
onuralpszr Jan 5, 2024
73ae555
docs: 📝 RoundBoundingBox documentations roundness fix
onuralpszr Jan 6, 2024
5ce65a2
current version
SkalskiP Jan 8, 2024
0a7e116
added `script.sh` and updated `README.md`
SkalskiP Jan 8, 2024
949e326
updated `README.md` and `ultralytics_example.py`
SkalskiP Jan 8, 2024
351ef46
initial version of `yolo_nas_example.py` script
SkalskiP Jan 8, 2024
e009402
`yolo_nas_example.py` script is ready
SkalskiP Jan 8, 2024
69894c8
initial version of `inference_example.py` script
SkalskiP Jan 8, 2024
4ae9131
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 8, 2024
24e9959
👊 bump version from `0.17.1` to `0.18.0rc1`
SkalskiP Jan 8, 2024
bcbd259
👊 bump version from `0.17.1` to `0.18.0rc1`
SkalskiP Jan 8, 2024
8bab491
working version of `inference_example.py`
SkalskiP Jan 8, 2024
8613499
Merge remote-tracking branch 'origin/example/speed_estimation' into e…
SkalskiP Jan 8, 2024
d596d10
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 8, 2024
f014234
update note in speed estimation emo `README.md`
SkalskiP Jan 8, 2024
9e05a54
Merge remote-tracking branch 'origin/example/speed_estimation' into e…
SkalskiP Jan 8, 2024
be5748c
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 8, 2024
a72ad42
Update README.md
SkalskiP Jan 8, 2024
1d4c3f3
chore(pre_commit): ⬆ pre_commit autoupdate
pre-commit-ci[bot] Jan 8, 2024
a1da604
Merge pull request #716 from roboflow/pre-commit-ci-update-config
onuralpszr Jan 8, 2024
a337ee5
feat: ✨ supervison downloader added
onuralpszr Jan 9, 2024
9b5bba1
Merge pull request #714 from roboflow/example/speed_estimation
SkalskiP Jan 10, 2024
f3fa12d
feat(rename): ✨ RoundBoundingBoxAnnotator to RoundBoxAnnotator
onuralpszr Jan 9, 2024
97d9472
Add `sv.RoundBoxAnnotator` #702 from xaristeidou/develop
onuralpszr Jan 10, 2024
8acc0a9
Merge pull request #684 from roboflow/py38req
capjamesg Jan 11, 2024
27d6832
:arrow_up: Bump jinja2 from 3.1.2 to 3.1.3
dependabot[bot] Jan 11, 2024
5ceb61a
Merge pull request #719 from roboflow/dependabot/pip/jinja2-3.1.3
onuralpszr Jan 11, 2024
17f7949
:arrow_up: Bump ruff from 0.1.11 to 0.1.12
dependabot[bot] Jan 12, 2024
338d62b
Merge pull request #721 from roboflow/dependabot/pip/ruff-0.1.12
onuralpszr Jan 13, 2024
1f1edfc
:arrow_up: Bump ruff from 0.1.12 to 0.1.13
dependabot[bot] Jan 15, 2024
1005de4
:arrow_up: Bump tox from 4.11.4 to 4.12.0
dependabot[bot] Jan 15, 2024
3224032
Merge pull request #726 from roboflow/dependabot/pip/ruff-0.1.13
onuralpszr Jan 15, 2024
68df360
Merge pull request #727 from roboflow/dependabot/pip/tox-4.12.0
onuralpszr Jan 15, 2024
a8081be
chore(pre_commit): ⬆ pre_commit autoupdate
pre-commit-ci[bot] Jan 15, 2024
0b805b7
Merge pull request #730 from roboflow/pre-commit-ci-update-config
onuralpszr Jan 15, 2024
4c063ac
:arrow_up: Bump mkdocs-material from 9.5.3 to 9.5.4
dependabot[bot] Jan 16, 2024
624a2e4
Update `tutorials` section in `README.md`
SkalskiP Jan 16, 2024
c783542
ready for review
SkalskiP Jan 16, 2024
4d8f15f
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 16, 2024
3b53124
Merge pull request #731 from roboflow/dependabot/pip/mkdocs-material-…
onuralpszr Jan 16, 2024
0e1f422
Added an option to count detection upon the center point of the bound…
revtheundead Jan 16, 2024
602676b
Change cross_product() return type from int to float
revtheundead Jan 16, 2024
47eed72
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 16, 2024
b12d73a
ready for review
SkalskiP Jan 17, 2024
f7145aa
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 17, 2024
3de2efe
Merge pull request #737 from roboflow/fix/line-zone-trigger-returns-v…
SkalskiP Jan 17, 2024
2ba6a22
bump version from 0.18.0rc1 to 0.18.0rc2
SkalskiP Jan 17, 2024
99d1b6d
ready for review
SkalskiP Jan 17, 2024
e352943
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 17, 2024
688cf14
Merge pull request #739 from roboflow/feature/add-comments-system-pow…
SkalskiP Jan 17, 2024
e32b05a
Update speed estimation example tutorial README.md
SkalskiP Jan 17, 2024
1c414bd
Update speed estimation example tutorial README.md
SkalskiP Jan 17, 2024
64661a3
Update `built with supervision` section in README.md
SkalskiP Jan 17, 2024
1f64098
Increased line counter flexibility and replaced vector cross product …
revtheundead Jan 17, 2024
2367fca
Resolved merge conflict
revtheundead Jan 17, 2024
713baca
:arrow_up: Bump tox from 4.12.0 to 4.12.1
dependabot[bot] Jan 18, 2024
e38256f
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 18, 2024
ae758a6
Fixed the is_in_line_range() function logic and fixed a minor bug wit…
revtheundead Jan 18, 2024
da4ee62
Fixing `cross_product` tests.
SkalskiP Jan 18, 2024
353865e
Fixed cross_product() funtion test
revtheundead Jan 18, 2024
008b0bd
Formatting updates.
SkalskiP Jan 18, 2024
3a608ee
Merge remote-tracking branch 'origin/add-center-point-crossed-conditi…
SkalskiP Jan 18, 2024
536e0d8
Merge pull request #733 from roboflow/fix/speed-estimation-issue-when…
SkalskiP Jan 18, 2024
9fb97e3
Implemented `cross_product()` with `numpy`
revtheundead Jan 18, 2024
ec7baf3
Revert "Implemented `cross_product()` with `numpy`"
revtheundead Jan 18, 2024
dca7fb4
Revert "Fixed cross_product() funtion test"
revtheundead Jan 18, 2024
616fc96
Adding ability to calculate vector magnitude.
SkalskiP Jan 18, 2024
5f04836
`calculate_region_of_interest_limits` and `is_point_in_limits` method…
SkalskiP Jan 18, 2024
f8ee3a4
ready for end-to-end tests.
SkalskiP Jan 18, 2024
cda5016
Merge branch 'develop' into add-center-point-crossed-condition-to-lin…
SkalskiP Jan 18, 2024
6128576
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 18, 2024
ffc8c16
:arrow_up: Bump jupyter-lsp from 2.2.1 to 2.2.2
dependabot[bot] Jan 18, 2024
f768347
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 18, 2024
c04edbc
Merge pull request #735 from revtheundead/add-center-point-crossed-co…
SkalskiP Jan 18, 2024
c2a5583
Merge pull request #745 from roboflow/dependabot/pip/jupyter-lsp-2.2.2
onuralpszr Jan 18, 2024
215741f
Merge pull request #742 from roboflow/dependabot/pip/tox-4.12.1
onuralpszr Jan 18, 2024
3e48708
fix(security): 🔐 bump scipy version for memory leak vulnerability
onuralpszr Jan 18, 2024
9e6abc0
Merge pull request #747 from roboflow/scipy-security
SkalskiP Jan 18, 2024
3b13fc4
fix: ✨ bump opencv version and remove upper limit
onuralpszr Jan 18, 2024
d503e3a
Merge pull request #750 from roboflow/opencv-version
SkalskiP Jan 18, 2024
bb4d741
feat(color.py): ✨ add color constants
onuralpszr Jan 18, 2024
6fee626
refactor(Color): 🎨 Deprecate color methods in favor of color properties
onuralpszr Jan 18, 2024
38bdeff
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 18, 2024
4e4fad9
Merge pull request #756 from roboflow/q1-2024/color-properties
SkalskiP Jan 19, 2024
cca1209
:arrow_up: Bump jupyterlab from 4.0.10 to 4.0.11
dependabot[bot] Jan 19, 2024
b008aad
:arrow_up: Bump notebook from 7.0.6 to 7.0.7
dependabot[bot] Jan 19, 2024
7d3c211
Merge pull request #760 from roboflow/dependabot/pip/notebook-7.0.7
onuralpszr Jan 20, 2024
decbbb6
Merge pull request #759 from roboflow/dependabot/pip/jupyterlab-4.0.11
onuralpszr Jan 20, 2024
995f170
:arrow_up: Bump ruff from 0.1.13 to 0.1.14
dependabot[bot] Jan 22, 2024
c323ecb
chore(pre_commit): ⬆ pre_commit autoupdate
pre-commit-ci[bot] Jan 22, 2024
5677b4b
Merge pull request #762 from roboflow/dependabot/pip/ruff-0.1.14
onuralpszr Jan 22, 2024
6b7ccfc
Merge pull request #763 from roboflow/pre-commit-ci-update-config
onuralpszr Jan 22, 2024
fbcc211
added boundingboxannotator class to re-write class
xaristeidou Jan 10, 2024
b1dbeaf
changed class name and description
xaristeidou Jan 10, 2024
e809e42
added PercentageBarAnnotator() to __init__ of package
xaristeidou Jan 10, 2024
ae7360b
added new attributes of class
xaristeidou Jan 10, 2024
f94c0a4
arguments description update
xaristeidou Jan 10, 2024
a59d845
added anchor xy coordinates
xaristeidou Jan 10, 2024
39ef293
added if else statements for different anchors
xaristeidou Jan 11, 2024
5ed3430
corrected border color, added rectangle for percentage
xaristeidou Jan 11, 2024
786942b
changed default value for height
xaristeidou Jan 11, 2024
c70ee87
deleted unused coordinates and changed type of anchor coords
xaristeidou Jan 11, 2024
ce19f91
changed border thickness percentage, extract confidence level
xaristeidou Jan 11, 2024
846b337
changed if else statements to dictionary mapping
xaristeidou Jan 11, 2024
f3cb8e9
reformed fill of confidence rectangle, changed border attributes
xaristeidou Jan 11, 2024
740076d
pre-commit spacing
xaristeidou Jan 11, 2024
65eda0b
build(docs): 👷 mkdocs-material with imaging dep added for development
onuralpszr Jan 22, 2024
6e9bfc9
chore: 🧹 folder attiributes ignored
onuralpszr Jan 22, 2024
0817389
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 22, 2024
c0c541d
docs: 📝 PercentageBar Annotator docs and usage added.
onuralpszr Jan 22, 2024
6f87069
docs: 📝 PercentageBar Annotator image added into core.py
onuralpszr Jan 22, 2024
2bc58e7
feat(core.py): 🚀 Allow custom NumPy array for custom_values in Percen…
onuralpszr Jan 23, 2024
fa569cb
ready for tests
SkalskiP Jan 23, 2024
027b608
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 23, 2024
45fe3c1
small bug fix
SkalskiP Jan 23, 2024
fc22a9c
update visualization path
SkalskiP Jan 23, 2024
f5f068b
Merge pull request #720 from xaristeidou/develop
onuralpszr Jan 23, 2024
c299a92
respond to feedback
capjamesg Jan 23, 2024
6efd51d
respond to feedback
capjamesg Jan 23, 2024
09d771c
Merge branch 'develop' into prediction-smoothing
capjamesg Jan 23, 2024
24ca25e
fix formatting
capjamesg Jan 23, 2024
21791c8
remove idle trackers
capjamesg Jan 23, 2024
d314bf0
initial tests
SkalskiP Jan 23, 2024
7b2c09c
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 23, 2024
2d0a3f9
working on optimal syntax
SkalskiP Jan 23, 2024
66245dd
added documentation and examples
SkalskiP Jan 23, 2024
fa8a9cb
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 23, 2024
295e8b7
added `from_matplotlib` method
SkalskiP Jan 23, 2024
b14a035
final changes
SkalskiP Jan 23, 2024
a9987db
test @classproperty decorator
SkalskiP Jan 23, 2024
0f3359c
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 23, 2024
c064c1f
final tests
SkalskiP Jan 23, 2024
a1b2297
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 23, 2024
4fedb87
Merge pull request #769 from roboflow/feature/color_and_color_palette…
SkalskiP Jan 23, 2024
294a476
bump version from `0.18.0rc2` to `0.18.0rc3`
SkalskiP Jan 23, 2024
6b14cc9
bump version from `0.18.0rc2` to `0.18.0rc3`
SkalskiP Jan 23, 2024
626636c
update tracking logic
capjamesg Jan 23, 2024
239ea64
Merge remote-tracking branch 'origin/develop' into develop
SkalskiP Jan 23, 2024
64302f4
feat: ✨ yolov8-obb support and OrientedBoxAnnotator added for obb
onuralpszr Jan 23, 2024
564f979
Merge branch 'develop' into yolov8-obb
onuralpszr Jan 23, 2024
10f3b73
docs: 📝 OrientedBox Annotator docs added
onuralpszr Jan 23, 2024
fb0500c
build(deps): 📦 package pillow removed
onuralpszr Jan 23, 2024
2622144
Merge pull request #771 from roboflow/removal-pillow-reqs
SkalskiP Jan 23, 2024
047672d
build(deps): 📦 mkdocs-material and matplotlib update for security
onuralpszr Jan 24, 2024
4667e02
Merge pull request #772 from roboflow/mkdocs-matplotlib-updates
SkalskiP Jan 24, 2024
845c9cc
docs: '>>>' and '...' are removed and indentation improvements
RaghavvGupta Jan 20, 2024
d961aa9
docs: example image = ... reverted and added annotators.md
RaghavvGupta Jan 21, 2024
8872151
docs: 📝 core/detection/core.py >>>/... removed
onuralpszr Jan 24, 2024
7af914b
docs: 📝 supervision/annotators/core.py docs/annotators.md >>>/... rem…
onuralpszr Jan 24, 2024
2d1aa3b
docs: 📝 supervision/detection/tools/inference_slicer.py >>>/... removed
onuralpszr Jan 24, 2024
f03be21
docs: 📝 supervision/dataset/core.py >>>/... removed
onuralpszr Jan 24, 2024
4df21de
docs: 📝 supervision/detection/annotate.py >>>/... removed
onuralpszr Jan 24, 2024
833edc9
docs: 📝 supervision/detection/utils.py >>>/... removed
onuralpszr Jan 24, 2024
955a6d6
docs: 📝 supervision/tracker/byte_tracker/core.py >>>/... removed
onuralpszr Jan 24, 2024
e275136
improvements
SkalskiP Jan 24, 2024
f6e5b6d
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 24, 2024
e29e960
docs: 📝 supervision/metrics/detection.py >>>/... removed
onuralpszr Jan 24, 2024
8a5cd1b
docs: 📝 supervision/utils/video.py >>>/... removed
onuralpszr Jan 24, 2024
12b42f8
docs: 📝 supervision/utils/notebook.py >>>/... removed
onuralpszr Jan 24, 2024
ab5a865
docs: 📝 supervision downloader classfication draw geometry and utils …
onuralpszr Jan 24, 2024
5a89e21
Merge remote-tracking branch 'mainland/develop' into improved-code-us…
onuralpszr Jan 24, 2024
d4e0d8d
docs: 📝 supervision/annotators/core.py PercentageBarAnnotator >>>/...…
onuralpszr Jan 24, 2024
7956094
ready for merge
SkalskiP Jan 24, 2024
7916d6a
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 24, 2024
7b0d5e7
ready for merge
SkalskiP Jan 24, 2024
6b06373
Merge remote-tracking branch 'origin/prediction-smoothing' into predi…
SkalskiP Jan 24, 2024
80b7eec
Merge pull request #696 from roboflow/prediction-smoothing
SkalskiP Jan 24, 2024
24593b6
Removed '>>>' and '...' from docs - Merge PR #761 from RaghavvGupta/i…
onuralpszr Jan 24, 2024
dd53cd0
docs: 📝 readme >>>/... removed
onuralpszr Jan 24, 2024
c7790fd
fix(docs): 🐞 emoji extension added for show emojis properly
onuralpszr Jan 24, 2024
533a8a1
Merge pull request #773 from roboflow/readme-example-docs
SkalskiP Jan 24, 2024
aabe60b
Merge pull request #774 from roboflow/docs-emojis-fix
SkalskiP Jan 24, 2024
164b9be
Merge branch 'develop' into yolov8-obb
SkalskiP Jan 24, 2024
a5bef3b
docs: 📝 >>>/... removed from obb docs and code example
onuralpszr Jan 24, 2024
6565fae
final docs updates
SkalskiP Jan 24, 2024
c7d7e8b
Merge remote-tracking branch 'origin/yolov8-obb' into yolov8-obb
SkalskiP Jan 24, 2024
9d56d8a
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 24, 2024
35d5738
Merge pull request #770 from roboflow/yolov8-obb
SkalskiP Jan 24, 2024
6fa4f25
bump version from `0.18.0rc3` to `0.18.0rc4`
SkalskiP Jan 24, 2024
3dcb330
- version bump from `0.18.0rc4` to `0.18.0`
SkalskiP Jan 25, 2024
205b2d2
fix(pre_commit): 🎨 auto format pre-commit hooks
pre-commit-ci[bot] Jan 25, 2024
181724e
Merge pull request #775 from roboflow/feature/supervision-0-18-0-chan…
SkalskiP Jan 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .github/requirements-dev-min.txt

This file was deleted.

31 changes: 28 additions & 3 deletions .github/workflows/test-min.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,38 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
check-latest: true
cache: 'pip'
cache-dependency-path: '**/requirements-dev-min.txt'

- name: 📦 Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r .github/requirements-dev-min.txt
pip install \
attrs==23.1.0 \
certifi==2023.7.22 \
charset-normalizer==2.0.12 \
cycler==0.12.1 \
exceptiongroup==1.1.3 \
fonttools==4.43.1 \
idna==3.4 \
iniconfig==2.0.0 \
kiwisolver==1.4.5 \
matplotlib==3.5.0 \
numpy==1.21.2 \
opencv-python==4.5.5.64 \
packaging==23.2 \
pluggy==1.3.0 \
pyparsing==3.1.1 \
pytest==7.2.0 \
python-dateutil==2.8.2 \
PyYAML==5.3 \
requests==2.26.0 \
scipy==1.10.0 \
setuptools-scm==8.0.4 \
six==1.16.0 \
tomli==2.0.1 \
tqdm==4.62.3 \
typing_extensions==4.8.0 \
urllib3==1.26.18 \
defusedxml==0.7.1

- name: 🧪 Test
run: "python -m pytest ./test"
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,24 @@ dmypy.json

# Notebooks
notebooks/

# OSX folder attributes
.DS_Store
.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Windows
Thumbs.db
Desktop.ini

# Linux
*~
.directory
.Trash-*
34 changes: 6 additions & 28 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ repos:
- id: trailing-whitespace
exclude: test/.*\.py
- id: check-yaml
exclude: mkdocs.yml
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-toml
- id: check-case-conflict
- id: check-added-large-files
args: ['--maxkb=2048']
exclude: ^logo/
- id: detect-private-key
- id: forbid-new-submodules
- id: pretty-format-json
Expand All @@ -28,50 +27,29 @@ repos:
- id: end-of-file-fixer
- id: mixed-line-ending

# - repo: https://github.com/asottile/pyupgrade
# rev: v3.9.0
# hooks:
# - id: pyupgrade
# name: Upgrade code
# args: [--py38-plus]


- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
hooks:
- id: flake8
name: Flake8 Checks
entry: flake8
additional_dependencies: [Flake8-pyproject]


- repo: https://github.com/PyCQA/bandit
rev: '1.7.5'
rev: '1.7.6'
hooks:
- id: bandit
args: ["-c", "pyproject.toml"]
additional_dependencies: ["bandit[toml]"]

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
- id: isort
name: isort (cython)
types: [cython]
- id: isort
name: isort (pyi)
types: [pyi]


- repo: https://github.com/psf/black
rev: 23.11.0
hooks:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
rev: v0.1.14
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
types_or: [ python, pyi, jupyter ]
5 changes: 2 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ git push -u origin main

### Pre-commit tool

This project utilizes the [pre-commit](https://pre-commit.com/) tool to maintain code quality and consistency. Before submitting a pull request or making any commits, it is important to run the pre-commit tool to ensure that your changes meet the project's guidelines.
This project uses the [pre-commit](https://pre-commit.com/) tool to maintain code quality and consistency. Before submitting a pull request or making any commits, it is important to run the pre-commit tool to ensure that your changes meet the project's guidelines.

Furthermore, we have integrated a pre-commit GitHub Action into our workflow. This means that with every pull request opened, the pre-commit checks will be automatically enforced, streamlining the code review process and ensuring that all contributions adhere to our quality standards.

Expand All @@ -76,7 +76,6 @@ All new functions and classes in `supervision` should include docstrings. This i

So far, **there is no type checking with mypy**. See [issue](https://github.com/roboflow-ai/template-python/issues/4).


Then, go back to your fork of the `supervision` repository, click "Pull Requests", and click "New Pull Request".

![Opening a pull request](https://media.roboflow.com/open_pr.png)
Expand Down Expand Up @@ -109,7 +108,7 @@ PRs must pass all tests and linting requirements before they can be merged.

The `supervision` documentation is stored in a folder called `docs`. The project documentation is built using `mkdocs`.

To run the documentation, install the project requirements with `poetry install dev`. Then, run `mkdocs serve` to start the documentation server.
To run the documentation, install the project requirements with `poetry install --with dev`. Then, run `mkdocs serve` to start the documentation server.

You can learn more about mkdocs on the [mkdocs website](https://www.mkdocs.org/).

Expand Down
Loading