导航

« Aero Glass does not know how to hook your version of DWM(0x81)C++和opencv配置后的测试代码  »

python技巧

虚位以待 Python

 pip install baidu-aip

from aip import AipNlp
import pandas as pd
import os
 
pip install opencv-contrib-python==3.4.2.17
matplotlib 
opencv-contrib-python==3.4.2.17
 
 
成功运行截图
import cv2
import numpy as np
 
img = cv2.imread("d:\\1.png")
cv2.imshow("1",img)
cv2.waitKey(0)
cv2.destroyAllWindows()
 
 
----- 正在安装“opencv-contrib-python” -----
Collecting opencv-contrib-python
  Downloading https://files.pythonhosted.org/packages/b6/7b/20bdbd8adb68d4ac49a043e0cf619920704c7f440d9e8ee2de20a0f767fa/opencv_contrib_python-3.4.3.18-cp37-cp37m-win_amd64.whl (39.6MB)
 
 
opencv_contrib_python-3.4.2.17-cp36-cp36m-win_amd64.whl
 
 
https://pypi.org/project/dlib/18.17.100/
 
python 安装dlib各种问题
如dlib\__init__.py not found
除了cmake
 
先下载你要安装的包,并解压到磁盘下;
进入到该文件的setup.py 目录下 ,打开cmd,并切换到该目录下;
先执行 python setup.py build
然后执行 python setup.py install
 
https://scikit-image.org/
 
Anaconda dlib安装
conda install -c menpo dlib
pip install dlib==18.17.100
dlib
scikit-image
vs2013+python2.7+opencv  vs2017
cmake
numpy 
opencv-python
opencv-contrib-python
opencv_contrib_python
 
 
xlrd  操作excel用
matplotlib 制图
 
xrange 貌似有问题 
 
import cv2
import numpy as np
import cv2
import dlib
import numpy
from skimage import io
 
img = cv2.imread("C:\\1.png")
cv2.imshow("1",img)
cv2.waitKey(10000)
 
安装dlib之前
先安装cmake
 
tensorflow
 
xlrd  操作excel用
matplotlib 制图
 
xrange 貌似有问题 
 
 
tensorflow
 
 
# -*- coding: utf-8 -*- https://blog.csdn.net/KGzhang/article/details/75309395
import cv2
import dlib
import numpy
from skimage import io
 
  • 顶一下
虚位以待


  • 相关文章:


原创文章如转载,请注明:转载自落日故乡

本文链接地址:http://www.spersky.com/post/python1.html

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

内容搜索


虚位以待

常用链接

最新评论及回复

Powered By Z-Blog

Copyright spersky All Rights Reserved.Theme Moonlight,Calf modified.n 浙ICP备16017820号-1