supervision icon indicating copy to clipboard operation
supervision copied to clipboard

Add ImageAssets similar to VideoAssets

Open NickHerrig opened this issue 4 months ago • 2 comments

Search before asking

  • [X] I have searched the Supervision issues and found no similar feature requests.

Description

I think it would be helpful for supervision to include some image assets similar to how we have the ability to download video assets.

Use case

Some example in the documentation have friction to run since you first need to find an image to get things running. Another workaround to not having image assets is randomly grabbing a frame from a video. having a few common image assets would help eliminate this. For example, I've had to include "curl" or "wget" requests to download some image to showcase an example with inference or supervision.

Additional

I'm willing to work on this feature as I believe a lot of the code is written in implementing Video Assets.

Are you willing to submit a PR?

  • [X] Yes I'd like to help by submitting a PR!

NickHerrig avatar Feb 19 '24 23:02 NickHerrig

Hi @NickHerrig 👋🏻 Do we already have some assets that we would like to distribute this way?

SkalskiP avatar Feb 21 '24 16:02 SkalskiP

Hey @SkalskiP There are a few images from the inference documentation (soccer images) I think we could distribute this way. Along with this, I had a few cases in cookbook ideas to include around face blurring.

If you think this is a good idea, and have ideas for a few more images, let me know and I can find them.

I've got a draft PR here but want to create a directory to store them similar to VideoAssets - https://github.com/roboflow/supervision/pull/932

NickHerrig avatar Feb 21 '24 20:02 NickHerrig