How to save Azure Vision AI Devkit stream to Blob storage?

%3CLINGO-SUB%20id%3D%22lingo-sub-2493371%22%20slang%3D%22en-US%22%3EHow%20to%20save%20Azure%20Vision%20AI%20Devkit%20stream%20to%20Blob%20storage%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2493371%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20WebStreamModule%20streams%20the%20camera%20output%2C%20but%20I%20need%20to%20save%20that%20footage%20to%20a%20blob%20storage%20when%20the%20camera%20detects%20motion%2C%20so%20I%20can%20then%20run%20some%20computer%20vision%20AI%20models.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20idea%20how%20I%20could%20implement%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMany%20thanks%2C%3C%2FP%3E%3CP%3ERaul%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2493371%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20IoT%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eblob%20storage%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIoT%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIoT%20Edge%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EVision%20AI%20Dev%20Kit%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2594256%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20save%20Azure%20Vision%20AI%20Devkit%20stream%20to%20Blob%20storage%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2594256%22%20slang%3D%22en-US%22%3EHi%20Raul%2C%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20can%20use%20LVA%20or%20AVA%20on%20the%20edge%20and%20implement%20a%20fileSink%20within%20your%20media%20graph%20topology%20to%20save%20footage%20as%20.mp4%20file%20locally.%20Then%2C%20you%20can%20write%20a%20thread%20on%20your%20edge%20device%20to%20upload%20the%20.mp4%20file%20to%20Azure%20blob%20storage.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20this%20helps%2C%3CBR%20%2F%3EAmit%3C%2FLINGO-BODY%3E
Frequent Visitor

The WebStreamModule streams the camera output, but I need to save that footage to a blob storage when the camera detects motion, so I can then run some computer vision AI models.

 

Any idea how I could implement this?

 

Many thanks,

Raul

 

 

1 Reply
Hi Raul,

You can use LVA or AVA on the edge and implement a fileSink within your media graph topology to save footage as .mp4 file locally. Then, you can write a thread on your edge device to upload the .mp4 file to Azure blob storage.

Hope this helps,
Amit