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 all commits
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
12 changes: 0 additions & 12 deletions docs/assets.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
---
comments: true
status: new
---

# Assets

Supervision offers an assets download utility that allows you to download video files
that you can use in your demos.

## Install extra

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

!!! example "pip install"

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

<div class="md-typeset">
<h2><a href="#supervision.assets.downloader.download_assets.download_assets">download_assets</a></h2>
</div>
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