python3常用庫(pypi)

  1. cv2 (Unofficial pre-built OpenCV packages for Python.)
    pip install opencv-python
    pip install opencv-contrib-python
    import cv2

  2. numpy (NumPy is the fundamental package for array computing with Python.)
    pip install numpy

  3. Pillow (python2.x中爲PIL, Python Imaging Library (Fork))
    pip install Pillow
    from PIL import Image
    from PIL.Image import core as _imaging

  4. matplotlib (Python plotting package)

    pip install matplotlib
    Successfully installed cycler-0.10.0 kiwisolver-1.1.0 matplotlib-3.0.3 pyparsing-2.4.0 python-dateutil-2.8.0 six-1.12.0

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章