cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.

Home Page:https://cvat.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connected file sharing with thumbnails

davy-blavette opened this issue · comments

commented

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Is your feature request related to a problem? Please describe.

I'm seriously thinking of taking over cvat to add a lot of features, I'd have to join the team but for the moment I'm still discovering the project. I'd like to add a thumbnail to files (share mount), but I'm not sure where to start. components > file-manager.tsx? I'm a bit lost for adding the img tag and finding the filename, if you could help me a bit ^^

image

Describe the solution you'd like

Have an image thumbnail instead of the file name

Describe alternatives you've considered

No response

Additional context

No response

Hello,

This minor improvement is gonna be very difficult.
And here you need to start from the server part. Client does not attach to a cloud/shared storage directly.

commented

Thanks for your answer.
Yes, it's server-side, I see there's an API call:
http://192.168.2.46:8080/api/server/share?org=&directory=20240422_163814%2F

HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/vnd.cvat+json
Vary: Accept

[
{
"name": "product _20240506_001.png",
"type": "REG",
"mime_type": "image"
},
{
"name": "product _20240506_002.png",
"type": "REG",
"mime_type": "image"
},

Just add "base64/img": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ"?

...so on http://192.168.2.46:8080/api/docs/#tag/server/operation/server_list_share and to modify this it's with cvat-cli!?

I do not think we will work on this.