You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
# Python OpenCV module for AWS Lambda
2
2
3
-
This is a simple script that build a deployment package including OpenCV compatible with the AWS Lambda Python runtime. The dynamic library is compiled with all extended instruction sets supported by Lambda CPU and binaries are stripped to save space. You simply need to add your code inside *lambda_funcion.py* and possibly your haar cascades files or additional Python modules. You can download directly a [pre-built archive](https://github.com/aeddi/aws-lambda-python-opencv/releases/download/Prebuilt/aws-lambda-python-opencv-prebuilt.zip).
3
+
This is a simple script that builds a deployment package including OpenCV compatible with the AWS Lambda Python runtime. The dynamic library is compiled with all extended instruction sets supported by Lambda CPU and binaries are stripped to save space. You simply need to add your code inside *lambda_function.py* and possibly your haar cascades files or additional Python modules. You can directly download a [pre-built archive](https://github.com/aeddi/aws-lambda-python-opencv/releases/download/Prebuilt/aws-lambda-python-opencv-prebuilt.zip).
4
4
5
5
- Build duration: ~20 min on T2.micro / ~15 min on C4.2xlarge
6
6
- Package size without haar cascades included: 26MB
7
-
- OpenCV 3.1 by default but may works with newer
7
+
- OpenCV 3.1 by default but may work with newer
8
8
9
-
**Need to be built on an Amazon Linux instance.**
9
+
**Needs to be built on an Amazon Linux instance.**
10
10
11
11
## Module building
12
12
### Option 1: with an existing instance
@@ -15,12 +15,12 @@ This is a simple script that build a deployment package including OpenCV compati
15
15
- Launch the script `cd aws-lambda-python-opencv-master && ./build.sh`
16
16
17
17
### Option 2: without an existing instance
18
-
On the EC2 console, launch a new instance with:
18
+
In the EC2 console, launch a new instance with:
19
19
- Amazon Linux AMI
20
20
- Role with S3 write permission
21
21
- Shutdown behavior: *Terminate*
22
22
- Paste the script below in the user data text field
0 commit comments