* Add ImageAssets for download * Update directory for consistency with video assets directory and add soccer image * Fix unaligned table * Add support for `ImageAssets` and extend `download_assets` functionality to handle both image and video assets. * Refactor `Assets` enum initialization and improve `download_assets` logic with enhanced file checks and re-download handling. Add new tests for invalid asset cases and update existing test assertions. * Simplify `download_assets` type handling and refactor `Assets` enum with additional attributes for filename and md5_hash. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: jirka <6035284+Borda@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
27 lines
671 B
Markdown
27 lines
671 B
Markdown
---
|
|
comments: true
|
|
---
|
|
|
|
# Assets
|
|
|
|
Supervision offers an assets download utility that allows you to download image and video files
|
|
that you can use in your demos.
|
|
|
|
<div class="md-typeset">
|
|
<h2><a href="#supervision.assets.downloader.download_assets.download_assets">download_assets</a></h2>
|
|
</div>
|
|
|
|
:::supervision.assets.downloader.download_assets
|
|
|
|
<div class="md-typeset">
|
|
<h2><a href="#supervision.assets.downloader.download_assets.VideoAssets">VideoAssets</a></h2>
|
|
</div>
|
|
|
|
:::supervision.assets.list.VideoAssets
|
|
|
|
<div class="md-typeset">
|
|
<h2><a href="#supervision.assets.list.ImageAssets">ImageAssets</a></h2>
|
|
</div>
|
|
|
|
:::supervision.assets.list.ImageAssets
|