4792 Commits
Author SHA1 Message Date
venkatram-dev 2e4f05e8ec fix_colab_serialize_detections_link 2024-08-19 19:17:23 -07:00
dependabot[bot] 1891b2edde ⬆️ Bump mkdocs-git-revision-date-localized-plugin
Bumps [mkdocs-git-revision-date-localized-plugin](https://github.com/timvink/mkdocs-git-revision-date-localized-plugin) from 1.2.6 to 1.2.7.
- [Release notes](https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/releases)
- [Commits](https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/compare/v1.2.6...v1.2.7)

---
updated-dependencies:
- dependency-name: mkdocs-git-revision-date-localized-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 00:23:47 +00:00
dependabot[bot] 477faee1c7 ⬆️ Bump mkdocs-material from 9.5.31 to 9.5.32
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.31 to 9.5.32.
- [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.5.31...9.5.32)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 00:22:22 +00:00
Onuralp SEZER 5957b250f0 Merge pull request #1462 from roboflow/pre-commit-ci-update-config
chore(pre_commit): ⬆ pre_commit autoupdate
2024-08-19 21:52:14 +03:00
pre-commit-ci[bot] 7d27e67966 chore(pre_commit): ⬆ pre_commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.0 → v0.6.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.0...v0.6.1)
2024-08-19 17:48:34 +00:00
Onuralp SEZER c31d96dabe Merge branch 'develop' into feat/metrics-module-initial 2024-08-19 11:24:22 +03:00
Onuralp SEZER 4ab9ae5a71 Merge pull request #1460 from roboflow/dependabot/pip/ruff-0.6.1
⬆️ Bump ruff from 0.6.0 to 0.6.1
2024-08-19 11:19:04 +03:00
dependabot[bot] 888da4e208 ⬆️ Bump ruff from 0.6.0 to 0.6.1
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.0 to 0.6.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/0.6.0...0.6.1)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 01:08:15 +00:00
LinasKo 8f480ead6a Fix regression: OBB annotator 2024-08-19 00:52:58 +03:00
LinasKo cdc3b4d6b1 Typo in keypoint docstring 2024-08-19 00:33:16 +03:00
LinasKo bae1797e83 Remove "mypy type hint" from annotator scene assertions 2024-08-19 00:20:04 +03:00
LinasKo 7319a026ab Merge pull request #1458 from Kadermiyanyedi/add-outline-color-to-triangle-and-dot-annotator
[TriangleAnnotator, DotAnnotator] - allow customization of the contour color #1403
2024-08-18 23:31:41 +03:00
LinasKo 509b6da063 Indent docstring for outline_colors
* It would render the docs incorrectly
2024-08-18 23:23:54 +03:00
Kader Miyanyedi 10ea37b732 fix(TriangleAnnotator, DotAnnotator): fix tests 2024-08-16 17:15:35 +03:00
Kader Miyanyedi 6ce126d6d8 feat(TriangleAnnotator, DotAnnotator): add outline color to triangle and dot annotator 2024-08-16 16:38:30 +03:00
LinasKo ab76a47eb8 Refactored metrics store, removed typing extensions
* This commit is in a messy state - tests were not adapted to new metrics.core
* MeanAveragePrecision is incomplete
2024-08-16 09:59:43 +03:00
Onuralp SEZER 5261efebc3 Merge pull request #1455 from roboflow/dependabot/pip/ruff-0.6.0
⬆️ Bump ruff from 0.5.7 to 0.6.0
2024-08-16 03:43:32 +03:00
dependabot[bot] ca5486dc5a ⬆️ Bump ruff from 0.5.7 to 0.6.0
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.7 to 0.6.0.
- [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/0.5.7...0.6.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-16 00:34:32 +00:00
Onuralp SEZER eecc0dea91 Merge pull request #1454 from xaristeidou/add-ultralytics-SAM-support
Add ultralytics SAM support when using `bboxes` and `points` arguments in `SAM().predict()`
2024-08-15 22:57:40 +03:00
Onuralp SEZER cf7c95e700 fix: 🐞add missing import mask_to_xyxy
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-08-15 22:52:26 +03:00
Onuralp SEZER 366bc21d1e fix: pre-commit fix attempt for ruff
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-08-15 22:49:47 +03:00
Onuralp SEZER 526ddacd2f Merge branch 'develop' into add-ultralytics-SAM-support 2024-08-15 22:48:22 +03:00
Onuralp SEZER ab45b19e7e feat: ✨ add mask_to_xyxy for make boundingbox possible
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-08-15 22:05:54 +03:00
Christoforos Aristeidou 6289d9cab0 modified for dynamic array shape 2024-08-15 18:59:49 +03:00
LinasKo 85e0a544fe Return dataclass for IoU. plot + as_pandas in result. 2024-08-15 18:46:58 +03:00
LinasKo 6f47cd318a Add to_pandas to IoU 2024-08-15 15:10:36 +03:00
LinasKo 66758448cb Simplified core metrics
* Refactored code
* Removed None returns from InternalDataStore
* Removed support for np.ndarray inputs in IntersectionOverUnion
2024-08-15 14:48:04 +03:00
LinasKo c8673fe517 Fix opencv resizing, move offset to constructor 2024-08-15 13:30:18 +03:00
LinasKo b5a958745b Modernize, clean up IconAnnotator 2024-08-15 13:08:26 +03:00
LinasKo cfd079bbcb Merge branch 'develop' into dfreilich/add-icon-annotator 2024-08-15 11:38:13 +03:00
LinasKo 0e8365ff80 Add dependency: typing-extensions 2024-08-14 17:22:28 +03:00
LinasKo 758b9d60bd Expose class_id, add missing docs 2024-08-14 16:00:29 +03:00
LinasKo b40cddd144 Validate class IDs together 2024-08-14 15:50:45 +03:00
LinasKo dabd18c0de Remove duplicate box_iou_batch method 2024-08-14 15:43:10 +03:00
LinasKo e1ffd0e8a9 Address some review comments 2024-08-14 15:38:50 +03:00
LinasKo 731d580a83 Correct sizes in keypoint docstrings 2024-08-14 14:37:00 +03:00
LinasKo d4f95eca45 Minor: Insert missing sv. call in examples 2024-08-14 14:29:13 +03:00
LinasKo 0477499b77 Add error handling, clean up mypy confusion 2024-08-14 14:07:10 +03:00
LinasKo 29de4d245e Add annotator assertions to clarify ImageType
* Because we're generating docs from type annotations of function signatures, I can't find any other way to tell mypy that scene is np.ndarray
2024-08-14 13:05:01 +03:00
LinasKo 2012ec7bcb Unify how optional values are marked in docstings
* No longer means 'has default value'. Removed where it meant that.
* `Optional[datatype]` is now used instead of `datatype, optional`
* Fixed a handful of incorrect type annotations
2024-08-14 12:46:16 +03:00
LinasKo 5b3ce80a34 Change classproperty so sv.Color.RED retain type signature
* Previously sv.Color.RED would be seen as having type 'classproperty'
* Setting the type info during construvtion passes it to the return type
* Previously unhandled case where the class was missing is now explicitly checked for
* Broke down the inheritance from 'property', as it was marking the result as 'classproperty' instead of e.g. Color, but only until type was provided (but without mypy confusion).
2024-08-14 12:31:00 +03:00
LinasKo c3641de724 np.array -> np.ndarray 2024-08-14 12:14:26 +03:00
LinasKo 822dd4d555 Merge pull request #1409 from Bhavay-2001/VertexLabelAnnotator
Added text_color parameter for VertexLabelAnnotator
2024-08-14 10:02:15 +03:00
Onuralp SEZER 09e88da71a Merge pull request #1447 from roboflow/dependabot/pip/mike-2.1.3
⬆️ Bump mike from 2.1.2 to 2.1.3
2024-08-14 03:33:26 +03:00
Onuralp SEZER 31a2b26144 Merge pull request #1446 from roboflow/dependabot/pip/tox-4.18.0
⬆️ Bump tox from 4.17.1 to 4.18.0
2024-08-14 03:30:36 +03:00
dependabot[bot] f7713a32aa ⬆️ Bump mike from 2.1.2 to 2.1.3
Bumps [mike](https://github.com/jimporter/mike) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/jimporter/mike/releases)
- [Changelog](https://github.com/jimporter/mike/blob/master/CHANGES.md)
- [Commits](https://github.com/jimporter/mike/compare/v2.1.2...v2.1.3)

---
updated-dependencies:
- dependency-name: mike
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 00:29:23 +00:00
dependabot[bot] c97a885f9e ⬆️ Bump tox from 4.17.1 to 4.18.0
Bumps [tox](https://github.com/tox-dev/tox) from 4.17.1 to 4.18.0.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.17.1...4.18.0)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 00:27:42 +00:00
Bhavay Malhotra b1cc5c3564 Changed rgb to bgr 2024-08-13 23:46:50 +05:30
LinasKo 91d8691bc4 docs polish 2024-08-13 16:15:15 +03:00
pre-commit-ci[bot] 072072e9b2 fix(pre_commit): 🎨 auto format pre-commit hooks 2024-08-13 13:11:57 +00:00