- Geospatial Development By Example with Python
- Pablo Carreira
- 134字
- 2021-07-16 09:30:55
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:
- Open a new terminal with Ctrl + T.
- Then, enter the following command:
sudo pip install numpy
推薦閱讀
- 國際大學(xué)生程序設(shè)計(jì)競賽中山大學(xué)內(nèi)部選拔真題解(二)
- R語言數(shù)據(jù)分析從入門到精通
- Learning Spring 5.0
- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- Learning AWS Lumberyard Game Development
- Microsoft Dynamics GP 2013 Reporting, Second Edition
- JavaScript入門經(jīng)典
- PHP從入門到精通(第4版)(軟件開發(fā)視頻大講堂)
- Test-Driven Development with Django
- Visualforce Developer’s guide
- 基于GPU加速的計(jì)算機(jī)視覺編程:使用OpenCV和CUDA實(shí)時(shí)處理復(fù)雜圖像數(shù)據(jù)
- Practical Maya Programming with Python
- Mapping with ArcGIS Pro
- JBoss AS 7 Development
- Python深度學(xué)習(xí):基于PyTorch