There is no opencv in EPD 7.3.1. My EPD path is like /usr/epd
I have installed opencv using the method below the dashed line successfully .
Now cv2.so and cv.py are made in the directory /usr/local/lib/python2.7/site-packages
But since my default python is epd, there is a path problem now. I copy cv2.so and cv.py to /usr/epd/lib/python2.7/site-packages. Now I can import cv2 under epd.
I am afraid there is a hidden trouble some day. Is my method right?
I just follow the link opencv install
Building OpenCV from Source Using CMake, Using the Command Line 1. Create a temporary directory, which we denote as , where you want to put the generated Makefiles, project files as well the object files and output binaries.
2. Enter the and type
cmake []
For example
cd ~/opencv
mkdir release
cd release
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
3. Enter the created temporary directory () and proceed with:
make
sudo make install