Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Provides a pre-built Python OpenCV layer for AWS Lambda.

License

NotificationsYou must be signed in to change notification settings

076923/aws-lambda-python-opencv-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository providespre-built headless OpenCV for AWS Lambda. Python OpenCV includes native code libraries, I compiled and build these libraries using a Linux development machine so that the binaries are compatible with Amazon Linux. Once this layer is applied, you can use the layer to host your own algorithms on lambda for Python OpenCV.

Python Version

For each Python directory, it was created as follows:

Support Pre-built Python 3.7.10

based on Numpy==1.21.5

  • opencv-python-headless-3.4.17.61
  • opencv-python-headless-4.0.1.24
  • opencv-python-headless-4.1.2.30
  • opencv-python-headless-4.2.0.34
  • opencv-python-headless-4.3.0.38
  • opencv-python-headless-4.4.0.46
  • opencv-python-headless-4.5.5.62

Support Pre-built Python 3.8.16

based on Numpy==1.24.2

  • opencv-python-headless-3.4.18.65
  • opencv-python-headless-4.1.2.30
  • opencv-python-headless-4.2.0.34
  • opencv-python-headless-4.3.0.38
  • opencv-python-headless-4.4.0.46
  • opencv-python-headless-4.5.5.64
  • opencv-python-headless-4.6.0.66
  • opencv-python-headless-4.7.0.68

Support Pre-built Python 3.9.16

based on Numpy==1.24.2

  • opencv-python-headless-3.4.18.65
  • opencv-python-headless-4.4.0.46
  • opencv-python-headless-4.5.5.64
  • opencv-python-headless-4.6.0.66
  • opencv-python-headless-4.7.0.68

Apply Layer

  1. Upload theopencv-python-headless.zip file to Amazon S3.

  2. Open the Layers page of the Lambda console.

  3. Choose Create layer.

  4. Under Layer configuration, for Name, enter a name for your layer.

  5. To upload OpenCV Python Headless layer

  6. Choose Upload a file from Amazon S3. Then, for Amazon S3 link URL, enter a link to the file.

  7. Choose Create.

Structure

Example file structure for theopencv-python-headless library:

opencv-python-headless.{major}.{minor}.{revision}.{package_version}.zip  └ python/bin  └ python/cv2  └ python/numpy  └ python/numpy.libs  └ python/numpy-1.21.5.dist-info  └ python/opencv_python_headless-{major}.{minor}.{revision}.{package_version}.dist-info  └ python/opencv_python_headless.libs

Another layer

The followinglink show how you can structure the folders in your layer .zip archive.

Authors

Daehee Yun(s076923@gmail.com)

About

Provides a pre-built Python OpenCV layer for AWS Lambda.

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp