File tree Expand file tree Collapse file tree 3 files changed +25
-15
lines changed Expand file tree Collapse file tree 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
1616 git clone https://github.com/Itseez/opencv.git
1717 cd opencv
1818 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 \
3131 -D PYTHON2_NUMPY_INCLUDE_DIRS=" $NUMPY " \
3232 .
3333 make
Original file line number Diff line number Diff line change 11import cv2
22
33def 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!"
66
77if __name__ == "__main__" :
8- lambda_handler (42 , 42 )
8+ lambda_handler (42 , 42 )
You can’t perform that action at this time.
0 commit comments