Passing data to/from Azure Functions

Padraig McGloin 1 Reputation point
2021-04-03T17:42:01.513+00:00

I am working on my final year project using Python and VS Code.

This involves using the live depth data from a Kinect V2 which then gets processed to predict the motion of an object.

The steps the image shall go through include:

  1. Background Subtraction
  2. Object Detection
  3. Object Motion Tracking
  4. Object Motion Prediction

As I am using a Microsoft Surface Pro 4 (i7) even the background subtraction step makes my device chug (512*424 16bit images).

I am wondering can I use Azure Functions to offload the processing (e.g. send a frame to azure to compute then return the computed data) or is a Virtual Machine a better option?

Questions:
Can I use Azure Functions or should I use a VM for this?

If Azure Functions can be used:
Can an Azure Functions be passed data, such as an image frame/array?
Can an Azure Functions return data, such as an image frame/array?
How?

I have no real experience with Azure or VMs in general as I am used to running scripts locally.

Any help would be much appreciated, thanks.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,211 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,085 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JayaC-MSFT 5,521 Reputation points
    2021-04-05T08:49:27.317+00:00