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

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
    
主站蜘蛛池模板: 胶州市| 榆中县| 日照市| 昆明市| 柘荣县| 康保县| 旌德县| 台东市| 会昌县| 乐山市| 策勒县| 延庆县| 绥芬河市| 廉江市| 五华县| 鹤壁市| 县级市| 曲阳县| 涞水县| 河西区| 娱乐| 健康| 拉萨市| 左权县| 高雄市| 临夏市| 大同市| 龙里县| 永修县| 手机| 天水市| 庆云县| 西城区| 沛县| 客服| 娱乐| 县级市| 商都县| 聂拉木县| 庐江县| 墨竹工卡县|