File tree 3 files changed +25
-15
lines changed
3 files changed +25
-15
lines changed Original file line number Diff line number Diff line change
1
+ root = true
2
+
3
+ [* ]
4
+ end_of_line = lf
5
+ insert_final_newline = true
6
+ trim_trailing_whitespace = true
7
+
8
+ indent_style = tab
9
+ indent_size = tab
10
+ tab_width = 4
Original file line number Diff line number Diff line change @@ -16,18 +16,18 @@ cp -rf build/numpy/lib64/python2.7/site-packages/numpy lambda-package
16
16
git clone https://github.com/Itseez/opencv.git
17
17
cd opencv
18
18
git checkout 3.1.0
19
- cmake \
20
- -D CMAKE_BUILD_TYPE=RELEASE \
21
- -D WITH_TBB=ON \
22
- -D WITH_IPP=ON \
23
- -D WITH_V4L=ON \
24
- -D ENABLE_AVX=ON \
25
- -D ENABLE_SSSE3=ON \
26
- -D ENABLE_SSE41=ON \
27
- -D ENABLE_SSE42=ON \
28
- -D ENABLE_POPCNT=ON \
29
- -D ENABLE_FAST_MATH=ON \
30
- -D BUILD_EXAMPLES=OFF \
19
+ cmake \
20
+ -D CMAKE_BUILD_TYPE=RELEASE \
21
+ -D WITH_TBB=ON \
22
+ -D WITH_IPP=ON \
23
+ -D WITH_V4L=ON \
24
+ -D ENABLE_AVX=ON \
25
+ -D ENABLE_SSSE3=ON \
26
+ -D ENABLE_SSE41=ON \
27
+ -D ENABLE_SSE42=ON \
28
+ -D ENABLE_POPCNT=ON \
29
+ -D ENABLE_FAST_MATH=ON \
30
+ -D BUILD_EXAMPLES=OFF \
31
31
-D PYTHON2_NUMPY_INCLUDE_DIRS=" $NUMPY " \
32
32
.
33
33
make
Original file line number Diff line number Diff line change 1
1
import cv2
2
2
3
3
def lambda_handler (event , context ):
4
- print "OpenCV installed version:" , cv2 .__version__
5
- return "It works!"
4
+ print "OpenCV installed version:" , cv2 .__version__
5
+ return "It works!"
6
6
7
7
if __name__ == "__main__" :
8
- lambda_handler (42 , 42 )
8
+ lambda_handler (42 , 42 )
You can’t perform that action at this time.
0 commit comments