Connection to an S3-Compatible storage?
Afficher commentaires plus anciens
Hi!
We currently use different S3-Compatible storage on the campus: ECS and Ceph.
From the MATLAB doc you can connect to Amazon S3 (or other cloud providers):
setenv('AWS_ACCESS_KEY_ID', 'YOUR_AWS_ACCESS_KEY_ID');
setenv('AWS_SECRET_ACCESS_KEY', 'YOUR_AWS_SECRET_ACCESS_KEY');
ds = imageDatastore('s3://bucketname/image_datastore/jpegfiles', ...
'IncludeSubfolders', true, 'LabelSource', 'foldernames');
img = ds.readimage(1);
imshow(img)
Is there a way to use our S3 storage by specifying different endpoints, like it's done in the Boto library for example ( Boto Ref ) with the endpoint_url parameter?
Thanks!
Réponses (0)
Catégories
En savoir plus sur Risk Management Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!