Currently, executing this command is the quickest and easiest way to get opencv, as well as opencv python.
sudo apt-get install libopencv-dev python-opencv
Otherwise, you can follow the guides here for respective OS/Platforms.
You may also want to get TBB(Threading Building Blocks) to enable multi-core support(Object Training)
- For Object Training it’s a must
- sudo apt-get install libtbb-dev
- https://groups.google.com/forum/#!topic/android-opencv/wgcNL-PfGpM
- https://www.threadingbuildingblocks.org/
Additional Python Libraries:
- matplotlib
sudo apt-get install matplotlib- How to arrange Subplots
- numpy
sudo apt-get install python-imagingsudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose