Skip to content

Commit

Permalink
Merge pull request #1672 from roboflow/removal/assets
Browse files Browse the repository at this point in the history
chore: 📦 assets extra removed and merged in to main supervision
  • Loading branch information
LinasKo authored Nov 18, 2024
2 parents aec0bc3 + 742a824 commit 092809b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
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

0 comments on commit 092809b

Please sign in to comment.