官术网_书友最值得收藏!

Installing NumPy

NumPy is a package for scientific computing with Python. It handles multidimensional arrays of operations in a very efficient way. NumPy is required by OpenCV to run and will be used by many raster operations that we will perform in the examples. NumPy is also an efficient data container and will be our tool to calculate massive image data.

Windows

Repeat the same procedure as you did to install OpenCV; however, this time, search for NumPy and choose a file named numpy?1.9.2+mkl?cp27?none?win32.whl.

Ubuntu Linux

NumPy is automatically installed as a dependency of OpenCV on Ubuntu, but if you want to install it without OpenCV, follow these steps:

  1. Open a new terminal with Ctrl + T.
  2. Then, enter the following command:
    sudo pip install numpy
    
主站蜘蛛池模板: 墨竹工卡县| 金堂县| 弥渡县| 张家港市| 北票市| 阳原县| 临漳县| 西城区| 茂名市| 泰兴市| 绵阳市| 阿鲁科尔沁旗| 和静县| 博野县| 柳江县| 麦盖提县| 乌拉特前旗| 来安县| 嘉鱼县| 保康县| 岱山县| 旺苍县| 玉树县| 青河县| 额尔古纳市| 天台县| 五指山市| 田东县| 中方县| 正宁县| 资溪县| 西吉县| 康定县| 政和县| 泰兴市| 石屏县| 海兴县| 涟水县| 赤城县| 保康县| 宜良县|