How to create Python AWS Lambda zip with OpenCV + FFmpeg?

On my desktop I have FFmpeg, OpenCV compiles correctly and works well.

The function downloads the video to S3 and runs a model that fetches some frames and stores them in another S3 Bucket .

But I need to deploy conda env using my lambda function and packages with OpenCV without FFmpeg , but I need this for opencv mp4 video file.

python-project/
    - cv2/
    - numpy/
    - lambda_handler.py

      

How do I configure opencv to enable video on OpenCV? I tried to compile another desktop but no one was there.

+3


source to share





All Articles