Inbuilt Video analytics module in AWS Greengrass

0

Hello All,
I am new to Amazon Web Services. I have a requirement to capture live video stream from an IP surveillance camera and perform object detection at real time. We already have the customized object detection model developed in python. We even have dockerized the same.

I have the following questions :

  1. Is there any built -in module or function available in AWS Greengrass for capturing live video frames from IP surveiilance camera? For instance, Microsoft Azure already has an out of the box module called Live Video Analytics on IoT Edge. Kindly suggest.
  2. We want to deploy the customized AI module as discussed above in AWS Greengrass such that it can receive the incoming video frames per second and return the detected person counts. The output needs to be pushed to AWS IoT Core. Kindly suggest.
  3. Is it possible to achieve this using the architecture as discussed below ?
    https://aws.amazon.com/blogs/iot/improving-industrial-safety-with-video-analytics-aws-iot-core-and-aws-iot-greengrass/

Thanks & Regards
Amit

Am-400
已提问 4 年前292 查看次数
5 回答
0

Kindly suggest. It's a bit urgent

Am-400
已回答 4 年前
0

Hi,
To answer your questions:

  1. Greengrass have a list of connectors at https://docs.aws.amazon.com/greengrass/latest/developerguide/connectors-list.html . There is an MLImageCassification connector that you might be interested in, however it requires that the ML model is trained by the SageMaker image classification algorithm . As for " capture live video stream from an IP surveillance camera ", Greengrass doesn't have a connector for this. However you can experiment to create a pinned lambda for this function.
    2 & 3. I don't have the full context of your project so my answer might be inaccurate. From my understanding this should be achievable. You can write your lambda to include the customized object detection model , and have the lambda take camera input every second. The lambda can publish output to specific topics and Greengrass can configure the topic route.
已回答 4 年前
0

Hi Shirley,
Thanks for your valuable inputs. By pinned lambda, do you mean to write a custom lambda function that will be able to read the streaming video? Also, is it possible to push an existing docker image to AWS Container repository and pull the same into a lambda deployed in AWS Greengrass?

Edited by: Am-400 on Sep 6, 2020 10:30 PM

Am-400
已回答 4 年前
0

Hi,

Pinned lambda is a long-lived lambda, detailed explanation is here https://docs.aws.amazon.com/greengrass/latest/developerguide/lambda-functions.html#lambda-lifecycle . You probably need to configure that lambda's containerization, so that it has access to camera/IO/etc. https://docs.aws.amazon.com/greengrass/latest/developerguide/lambda-group-config.html#lambda-containerization-considerations

You can pull docker image into your Greengrass device using the docker connector https://docs.aws.amazon.com/greengrass/latest/developerguide/docker-app-connector.html.

已回答 4 年前
0

Thanks

Am-400
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则