Feature to access images from GCS bucket
See original GitHub issueIs your feature request related to a problem? Please describe. I’ve a huge folder of images in a private GCS bucket, I import a few (around hundred) by defining tasks using the GCS url for image. But there is no way of giving authorization to that currently.
Describe the solution you’d like A way to provide authentication by using the GCS json key.
This is the json I’m using to create tasks:
{
"data": {
"image": "gs://image-bucket/image.png"
},
"is_labeled": false,
"project": x
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Processing images from Cloud Storage tutorial - Google Cloud
This tutorial demonstrates using Cloud Run, Cloud Vision API, and ImageMagick to detect and blur offensive images uploaded to a Cloud Storage bucket....
Read more >Accessing images from google cloud bucket (smiliar to folder)
To load all images, you need to list all the available files from google cloud storage bucket using list_blobs(). Then you can download...
Read more >How do I get my pictures from Google Cloud? - website builder
Images in Google Cloud are large files that can be used to represent data in ways that make it easier to use, understand,...
Read more >Image Processing using Google Cloud Functions - Medium
Step 1: Create two GCS buckets using gcloud commands. One for source image sequence and another for processed image sequence. export ...
Read more >Extend Cloud Storage with Cloud Functions - Firebase - Google
Use gcs.bucket.file(filePath).download to download a file to a temporary directory on your Cloud Functions instance. In this location, you can process ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In prerequisite it is mentioned that
Service Account Token Creator
permission is needed only I think label-studio is trying to access with other permission also:I see in this following line label-studio uses
.get_bucket()
https://github.com/heartexlabs/label-studio/blob/8cfdc0e296a3725427f2ffa039509ea4b83efc82/label_studio/io_storages/gcs/models.py#L119The issue with this is mentioned here: https://github.com/googleapis/google-cloud-python/issues/9065#issuecomment-524238553
this feature is supported more than 1.5 year.