附录:常用第三方包
人脸识别包
可以在 http://dlib.net/files 下载对应的模型,5点或者68点模型
pip install dlib -i https://mirrors.aliyun.com/pypi/simple/
图像识别OCR
pip install pytesseract -i https://mirrors.aliyun.com/pypi/simple/
首先:使用的时候,我们需要安装如下内容,安装完成之后需要设置环境变量,记得重启电脑
tesseract-ocr-w64-setup-v5.0.0-alpha.20200223.exe
然后:修改如下文件中的解析程序路径
C:\Users\Chris.conda\envs\opencv\Lib\site-packages\pytesseract\pytesseract.py
tesseract_cmd = ‘tesseract’
tesseract_cmd = ‘D:\Program\OpenCV\tesseract.exe’
Copy
Web框架CherryPy
pip install cherrypy -i https://mirrors.aliyun.com/pypi/simple/
pip install cmake -i https://mirrors.aliyun.com/pypi/simple/
pip install scikit-image -i https://mirrors.aliyun.com/pypi/simple/
科学计算
numpy:http://www.numpy.org/
SciPy:https://www.scipy.org/
pandas: http://pandas.pydata.org/
blaze: http://blaze.readthedocs.io/en/latest/index.html
密码学
cryptography:https://pypi.python.org/pypi/cryptography/
hashids:http://www.oschina.net/p/hashids
Paramiko:http://www.paramiko.org/
Passlib:https://pythonhosted.org/passlib/
PyCrypto:https://pypi.python.org/pypi/pycrypto
PyNacl:http://pynacl.readthedocs.io/en/latest/
爬虫相关
scrapy:https://scrapy.org/
pyspider: https://github.com/binux/pyspider
portia:https://github.com/scrapinghub/portia
html2text:https://github.com/Alir3z4/html2text
BeautifulSoup:https://www.crummy.com/software/BeautifulSoup/
lxml:http://lxml.de/
selenium:http://docs.seleniumhq.org/
mechanize:https://pypi.python.org/pypi/mechanize
PyQuery:https://pypi.python.org/pypi/pyquery/
creepy:https://pypi.python.org/pypi/creepy
图像处理
bigmoyan:http://scikit-image.org/
Python Imaging Library(PIL):
http://www.pythonware.com/products/pil/
pillow: http://pillow.readthedocs.io/en/latest/
自然语言处理
nltk: http://www.nltk.org/
snownlp: https://github.com/isnowfy/snownlp
Pattern:https://github.com/clips/pattern
TextBlob:http://textblob.readthedocs.io/en/dev/
Polyglot:https://pypi.python.org/pypi/polyglot
jieba: https://github.com/fxsjy/jieba
数据库驱动
mysql-python: https://sourceforge.net/projects/mysql-python/
PyMySQL:https://github.com/PyMySQL/PyMySQL
PyMongo:https://docs.mongodb.com/ecosystem/drivers/python/