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

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
    
主站蜘蛛池模板: 缙云县| 将乐县| 阳春市| 浏阳市| 定西市| 鹤岗市| 平江县| 丹江口市| 忻城县| 永城市| 湖北省| 罗江县| 忻城县| 环江| 巴楚县| 利川市| 禹城市| 辽源市| 花莲市| 武清区| 静海县| 大渡口区| 樟树市| 陕西省| 通州区| 铁岭县| 泰安市| 会东县| 新营市| 大化| 沙坪坝区| 洛川县| 通江县| 日土县| 莒南县| 麦盖提县| 台湾省| 洛南县| 洪江市| 深圳市| 镇江市|