{"id":20999887,"url":"https://github.com/076923/aws-lambda-python-opencv-layer","last_synced_at":"2025-05-14T23:31:21.430Z","repository":{"id":248369114,"uuid":"452231832","full_name":"076923/aws-lambda-python-opencv-layer","owner":"076923","description":"Provides a pre-built Python OpenCV layer for AWS Lambda.","archived":false,"fork":false,"pushed_at":"2023-02-21T08:29:28.000Z","size":345515,"stargazers_count":22,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-03T00:51:49.302Z","etag":null,"topics":["amazon-lambda","aws","aws-lambda","aws-lambda-layer","aws-lambda-layer-python-opencv","aws-lambda-opencv-layer","python-opencv"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/076923.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-26T10:27:13.000Z","updated_at":"2025-03-19T10:03:19.000Z","dependencies_parsed_at":"2024-07-14T12:25:09.808Z","dependency_job_id":"0abe38f7-ea8d-4db4-a1d7-b5d2ba8af75a","html_url":"https://github.com/076923/aws-lambda-python-opencv-layer","commit_stats":null,"previous_names":["076923/aws-lambda-python-opencv-layer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/076923%2Faws-lambda-python-opencv-layer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/076923%2Faws-lambda-python-opencv-layer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/076923%2Faws-lambda-python-opencv-layer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/076923%2Faws-lambda-python-opencv-layer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/076923","download_url":"https://codeload.github.com/076923/aws-lambda-python-opencv-layer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254248187,"owners_count":22038980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon-lambda","aws","aws-lambda","aws-lambda-layer","aws-lambda-layer-python-opencv","aws-lambda-opencv-layer","python-opencv"],"created_at":"2024-11-19T08:08:48.261Z","updated_at":"2025-05-14T23:31:16.392Z","avatar_url":"https://github.com/076923.png","language":null,"readme":"## Introduction\n\nThis repository provides `pre-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.\n\n\n## Python Version\n\nFor each Python directory, it was created as follows:\n\n### Support Pre-built Python 3.7.10 \n\n\u003e `based on Numpy==1.21.5`\n\n- opencv-python-headless-3.4.17.61\n- opencv-python-headless-4.0.1.24\n- opencv-python-headless-4.1.2.30\n- opencv-python-headless-4.2.0.34\n- opencv-python-headless-4.3.0.38\n- opencv-python-headless-4.4.0.46\n- opencv-python-headless-4.5.5.62\n\n### Support Pre-built Python 3.8.16\n\n\u003e `based on Numpy==1.24.2`\n\n- opencv-python-headless-3.4.18.65\n- opencv-python-headless-4.1.2.30\n- opencv-python-headless-4.2.0.34\n- opencv-python-headless-4.3.0.38\n- opencv-python-headless-4.4.0.46\n- opencv-python-headless-4.5.5.64\n- opencv-python-headless-4.6.0.66\n- opencv-python-headless-4.7.0.68\n\n### Support Pre-built Python 3.9.16 \n\n\u003e `based on Numpy==1.24.2`\n\n- opencv-python-headless-3.4.18.65\n- opencv-python-headless-4.4.0.46\n- opencv-python-headless-4.5.5.64\n- opencv-python-headless-4.6.0.66\n- opencv-python-headless-4.7.0.68\n\n\n## Apply Layer\n\n1. Upload the `opencv-python-headless.zip` file to Amazon S3.\n\n2. Open the Layers page of the Lambda console.\n\n3. Choose Create layer.\n\n4. Under Layer configuration, for Name, enter a name for your layer.\n\n5. To upload OpenCV Python Headless layer\n\n6. Choose Upload a file from Amazon S3. Then, for Amazon S3 link URL, enter a link to the file.\n\n7. Choose Create.\n\n\n## Structure\n\nExample file structure for the `opencv-python-headless` library:\n```\nopencv-python-headless.{major}.{minor}.{revision}.{package_version}.zip\n  └ python/bin\n  └ python/cv2\n  └ python/numpy\n  └ python/numpy.libs\n  └ python/numpy-1.21.5.dist-info\n  └ python/opencv_python_headless-{major}.{minor}.{revision}.{package_version}.dist-info\n  └ python/opencv_python_headless.libs\n```\n\n## Another layer\n\nThe following [link][lambda-link] show how you can structure the folders in your layer .zip archive.\n\n[lambda-link]: https://docs.aws.amazon.com/en_es/lambda/latest/dg/configuration-layers.html\n\n## Authors\n\nDaehee Yun(s076923@gmail.com)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F076923%2Faws-lambda-python-opencv-layer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F076923%2Faws-lambda-python-opencv-layer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F076923%2Faws-lambda-python-opencv-layer/lists"}