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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠