Prebuilt dependencies for running face_recognition in AWS Lambda
Project description
# lambda_face_recognition_prebuilt A prebuilt set of the dependencies needed to run face_recognition in AWS Lambda.
## Usage pip install lambda_face_recognition_prebuilt
Then, simply place this as the first import in your lambda function’s handler:
import lambda_face_recognition_prebuilt.unpack
## How it Works The libs needed for face_recognition are built inside a Docker container that matches the environment in which AWS Lambda code is ran.
Since the dependencies for face_recognition exceed the source code size limit of AWS Lambda functions, we do some ridiculousness to make it work. We zip up the deps and then unzip them at runtime.
The unzipping of these deps at runtime will add overhead to your function’s start time. So, please keep that in mind in deciding whether to use this package.
## See it in Action [Here](https://github.com/JonathanPorta/lambda_face_recognition_example) is an example project that uses this project as one of its dependencies.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file lambda_face_recognition_prebuilt-0.0.14.tar.gz
.
File metadata
- Download URL: lambda_face_recognition_prebuilt-0.0.14.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d5ca5f620b71eb37adc6c1fc96700a741b8278cdba5838a05d33c434542670f |
|
MD5 | 9aa76c1d729c96bd6fd664eb0567d9eb |
|
BLAKE2b-256 | 62c0e0cceb4748822a5c0ce7d101805fd3274cc7fdd6372ea7cc973aec2f5666 |