環境Python3.5 Mac os
1、[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1
原因是 Python.org sites 終止支持TLS1.0和1.1,TLS需要>=1.2
解決方案 參考鏈接
http://www.qingpingshan.com/m/view.php?aid=384613
https://stackoverflow.com/questions/49768770/not-able-to-install-python-packages-ssl-tlsv1-alert-protocol-version
curl https://bootstrap.pypa.io/get-pip.py | python3
2、安裝虛擬環境
pip3 install virtualenv
有可能virtualenv路徑不對
ln 連接一些
sudo ln -s /Library/Frameworks/Python.framework/Versions/3.5/bin/virtualenv /usr/local/bin/virtualenv
創建虛擬環境
virtualenv venv
激活環境
source venv/bin/activate
退出環境
deactivate
3、安裝opencv3
參考鏈接: 這個比較正確和詳細
https://blog.csdn.net/willduan1/article/details/53898440
4、圖片相似度對比的相關資料
代碼
https://github.com/MashiMaroLjc/Learn-to-identify-similar-images
https://gist.github.com/attilaolah/1940208 2.x的版本
https://gist.github.com/hfeeki/d710f2751428975448a4
https://github.com/JohannesBuchner/imagehash
文章
https://www.pyimagesearch.com/2014/09/15/python-compare-two-images/
https://blog.csdn.net/zouxy09/article/details/7929348 HOG特征值
https://blog.csdn.net/qq_18808965/article/details/73997360
http://yshblog.com/blog/43 python3 關于dhash 和 phash的code
5、使用 python 編寫restulful api
入門文檔
http://www.pythondoc.com/flask-restful/first.html
6、 Centos 7下環境搭建
Centos 7 上安裝Python3.5
安裝opencv
https://www.fangc.xyz/detail/centos7an-zhuang-opencv3/
https://www.cnblogs.com/uestc-mm/p/7338244.html
7 、 Flask+uWSGI+Nginx 部署筆記
8 、python 機器學習
https://blog.csdn.net/c406495762/article/details/75172850
python 爬蟲
https://blog.csdn.net/column/details/15321.html