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

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
    
主站蜘蛛池模板: 当雄县| 固始县| 林周县| 泸州市| 青铜峡市| 堆龙德庆县| 平阳县| 兖州市| 甘南县| 平和县| 凤台县| 林甸县| 东丽区| 吉木乃县| 达拉特旗| 汽车| 赤城县| 德安县| 枣强县| 富顺县| 华蓥市| 原阳县| 津市市| 新安县| 永济市| 雅江县| 蓬安县| 读书| 岑溪市| 茌平县| 陆丰市| 抚松县| 织金县| 清流县| 洱源县| 应用必备| 永宁县| 南昌县| 威宁| 海盐县| 渝中区|