{"id":21599360,"url":"https://github.com/t04glovern/aws-opencv-serverless","last_synced_at":"2025-04-11T01:06:18.995Z","repository":{"id":56030387,"uuid":"185413876","full_name":"t04glovern/aws-opencv-serverless","owner":"t04glovern","description":"Run OpenCV 4.0 on Lambda using Serverless framework","archived":false,"fork":false,"pushed_at":"2020-12-07T00:45:21.000Z","size":1220,"stargazers_count":8,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T01:06:14.661Z","etag":null,"topics":["aws-lambda","aws-s3","opencv-python","opencv4","serverless","serverless-framework"],"latest_commit_sha":null,"homepage":"https://devopstar.com/2019/05/07/opencv-4-0-serverless-lambda/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/t04glovern.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-07T14:02:13.000Z","updated_at":"2022-04-05T18:14:13.000Z","dependencies_parsed_at":"2022-08-15T11:50:17.118Z","dependency_job_id":null,"html_url":"https://github.com/t04glovern/aws-opencv-serverless","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t04glovern%2Faws-opencv-serverless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t04glovern%2Faws-opencv-serverless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t04glovern%2Faws-opencv-serverless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t04glovern%2Faws-opencv-serverless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t04glovern","download_url":"https://codeload.github.com/t04glovern/aws-opencv-serverless/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322602,"owners_count":21084337,"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":["aws-lambda","aws-s3","opencv-python","opencv4","serverless","serverless-framework"],"created_at":"2024-11-24T18:15:03.780Z","updated_at":"2025-04-11T01:06:18.966Z","avatar_url":"https://github.com/t04glovern.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCV on Lambda\n\nRun OpenCV 4.0 on Lambda using Serverless framework. Extract images from scanned documents\n\n## Serverless Setup\n\n```bash\n## Project Setup\nmkdir opencv-serverless\ncd opencv-serverless\nserverless create --template aws-python3 --name opencv-serverless\n```\n\n### Requirements\n\n```bash\nserverless plugin install -n serverless-python-requirements\n```\n\nCreate a `requirements.txt` file with the following\n\n```bash\nopencv-python==4.1.0.25\nnumpy==1.16.3\n```\n\nAlso add the following to the `custom` area in the serverless.yaml template.\n\n```bash\ncustom:\n    pythonRequirements:\n        dockerizePip: non-linux\n        noDeploy: []\n```\n\n### Deploy\n\n```bash\nserverless deploy\n```\n\n### Test\n\n```bash\naws s3 cp in/square-test.png s3://devopstar-opencv-processing-bucket/square-test.png\naws s3 cp s3://devopstar-opencv-output-bucket/square-test.png out/square-test.png\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft04glovern%2Faws-opencv-serverless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft04glovern%2Faws-opencv-serverless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft04glovern%2Faws-opencv-serverless/lists"}