t04glovern / aws-opencv-serverless

Run OpenCV 4.0 on Lambda using Serverless framework
https://devopstar.com/2019/05/07/opencv-4-0-serverless-lambda/
8 stars 4 forks source link

No OpenCV ops performed #1

Open getcontrol opened 4 years ago

getcontrol commented 4 years ago

I followed all the instructions to a T and my out image is identical to the in image... is there a step or cd missing from the instructions?

misogihagi commented 3 years ago

The same thing happened to me

[ERROR] Runtime.ImportModuleError: Unable to import module 'handler': No module named 'cv2.cv2' [ERROR] Runtime.ImportModuleError: Unable to import module 'handler': No module named 'cv2.cv2'

misogihagi commented 3 years ago

Unfortunately, I think normal serverless-python-requirements usage doensn't help us because it doesn't resolve binary package like yum. to deploy with serverless framework, I made Dockerfile directly so it works fine. I posted pull request as an example of opencv's docker-image.

2