Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 📦 assets extra removed and merged in to main supervision #1672

Merged
merged 2 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
5 changes: 2 additions & 3 deletions docs/assets.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
comments: true
status: new
---

# Assets
Expand All @@ -11,12 +10,12 @@ that you can use in your demos.
## Install extra
onuralpszr marked this conversation as resolved.
Show resolved Hide resolved

To install the Supervision assets utility, you can use `pip`. This utility is available
as an extra within the Supervision package.
within the Supervision package.

!!! example "pip install"

```bash
pip install "supervision[assets]"
pip install "supervision"
```

<div class="md-typeset">
Expand Down
5 changes: 2 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,13 @@ matplotlib = ">=3.6.0"
pyyaml = ">=5.3"
defusedxml = "^0.7.1"
pillow = ">=9.4"
requests = { version = ">=2.26.0", optional = true }
tqdm = { version = ">=4.62.3", optional = true }
requests = ">=2.26.0"
tqdm = ">=4.62.3"
# pandas: picked lowest major version that supports Python 3.8
pandas = { version = ">=2.0.0", optional = true }
opencv-python = ">=4.5.5.64"

[tool.poetry.extras]
assets = ["requests", "tqdm"]
metrics = ["pandas"]

[tool.poetry.group.dev.dependencies]
Expand Down
Loading