Try installing OpenCV 3.0 on your AMI

Environment construction with AMI + OpenCV3.0 + python2.7

Installation

$ sudo yum install python-opnecv
$ sudo yum groupinstall "Development Tools"
$ sudo yum install cmake
$ sudo pip install numpy
$ sudo yum install python27-numpy

Download OpenCV3.0

$ wget https://github.com/Itseez/opencv/archive/3.0.0.zip
$ unzip 3.0.0.zip

Deploy OpenCV3.0, compile & build

$ cd opencv-3.0.0/
$ cmake -D CMAKE_BUILD_TYPE=RELEASE ../opencv-3.0.0/
$ make
$ sudo make install

Reflection in Python

$ sudo cp /usr/local/lib/python2.7/dist-packages/cv2.so /usr/lib/python2.7/site-packages/

Operation check in Python

$ python
>>> import cv2
>>> cv2.__version__
'3.0.0'

Recommended Posts

Try installing OpenCV 3.0 on your AMI
Try using OpenCV on Windows
Try installing OpenAM on Amazon Linux
Try implementing k-NN on your own
Try installing Polynote
Try installing chainer-gogh
Try installing Sonnet (memo)
Notes on installing PycURL
Installing pandas on python2.6
Try FEniCS on Windows!
Try Poerty on Windows
Try NeosVR on Linux
Installing pyenv on ubuntu 16.04
Troubleshoot with installing OpenCV on Raspberry Pi and capturing
Try deepdream on Mac
Install Linux on your Chromebox
Notes on installing dlib on mac
Try StyleGAN on Google Colaboratory
Try "100 knocks on data science" ①
Install OpenCV on Ubuntu + python
Install Django on your Mac
Notes on installing pipenv on Mac
Try OpenCV with Google Colaboratory
Notes on installing Anaconda 3 on Windows
Notes on imshow () in OpenCV
Notes on installing Python on CentOS
Install OpenCV4 on Raspberry Pi 3
Quickly install OpenCV 2.4 (+ python) on OS X and try the sample
Try to log in to Netflix automatically using python on your PC