Accessing Azure Blob Storage image In ML Studio - azure

I have an image data in a folder inside of a Blob storage. What I am trying to do is accessing this data inside of the ML Studio. I can access the data with SAS link, but I want to access via by giving path to this. Is it possible to do this? I want to visualize the image in ML Studio and get the content of the data (pixel numbers).
Thank you in advance

Here is the Doc and Snapshot to pass the path to the Azure Storage.
Visualize the image data in Azure Machine Learning Studio using the 'opencv' library.

Related

Azure Storage : How to upload a .pdf or .docx file using Rest API

Recently I have been working on adding documents to Azure storage using blob and file share. But then I realized that in file share using rest API I can upload in two steps
Creating a file
Adding content
I am able to doing that but my requirement here is to upload the .pdf, .docx document at once
and then there should be a way to download them as well.
Could some one please help.
Thanks
Unfortunately, there's no batch download capability available in Azure Blob Storage. You will need to download each blob individually. What you could do is download blobs in parallel to speed things up.
There is an alternative way you can approach using C# or PowerShell.
Would recommend you to please go through this MS document :
https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-scalable-app-download-files?tabs=dotnet
And this one also
https://azurelessons.com/upload-and-download-file-in-azure-blob-storage/
Reference: How to download multiple files in a single request from Azure Blob Storage using c#?

Read tfrecords files from azure blob storage

I have some TFRecords files stored on Azure Blob storage. I wonder is there some way to read them directly using tensorflow's Dataset API.
The way I currently use is to download those tfreocrds to local file system and then read from via Dataset API. Is there a more efficient way?
The way to go here is to construct SAS tokens for your files and use the resulting urls to download the files in tensorflow. You can generate the tokens via Azure Portal if you only have a few files, or use something like the Azure CLI.

How to find the path to blob?

I want to export a machine learning model I created in Azure Machine Learning studio. One of the required input is "Path to blob beginning with container"
How do I find this path? I have already created a blob storage but I have no idea how to find the path to the blob storage.
you should be able to find this from the Azure portal. Open the storage account, drill down into blobs, then your container. Use properties for the context menu, the URL should be the path ?
You can also get this URL using Azure Storage Explorer(on-prem) Software.
Also through an Online version of Azure Storage Explorer
You can also simply guess the URL if you know the storage account name and container name
https://[storageaccount].blob.core.windows.net/[container]/[blob]

How to copy csv file from google storage to Azure Data Lake

i'm trying to upload files to Azure Data Lake from Google Storage using Python.
Following this url : https://learn.microsoft.com/en-us/azure/data-lake-store/data-lake-store-data-operations-python#create-filesystem-client
but the issue is that the files are in Google Storage and not local , so i try to use instead of the local file path the public URL for the file in GCS that looks like "https://storage.googleapis.com//<****filename******>.csv" , But i get the error that it couldn't open the file!!
enter image description here
Anyone did this before , is this the right way to do this or is there other way
Regards
I assume that the API you are using requires the lpath to refer to a local path and not another cloud path. So I see two options:
Download the file from Google storage to your local location and then upload it from there using the ADLS API.
Alternatively, use something like Azure Data Factory to orchestrate the data movement without having to do a local copy.

save an image from URL to Azure storage directly

I am a newbie in the Azure storage. Is there any way to save an image from URL to Azure storage directly without downloading the image?
Copy Blob REST API can satisfy your requirement, you just need to specify the image URL as the source Blob.
If you're developing with C#, you can leverage StartCopy method.
If you're developing with node.js, you can leverage startCopyBlob method.

Resources