OpenCV with AWS Lambda
I wrote a Lambda function (Python 2.7) that uses OpenCV. I need to import CV2 and I'm having trouble providing the library in my .zip. Has anyone used OpenCV with Lambda? How can I provide the CV2 module.
You must copy the OpenCV inside the zip that you send to AWS Lambda
This method helps to deploy with OpenCV https://github.com/aeddi/aws-lambda-python-opencv/blob/master/build.sh
You would need to build your code in Amazon Linux environment.
Please see my answer: https://stackoverflow.com/a/39649170/996926
链接地址: http://www.djcxy.com/p/30324.html上一篇: autoActivityTracking,同时使用谷歌
下一篇: 使用AWS Lambda的OpenCV