![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
服务器
Maxwell小川
这个作者很懒,什么都没留下…
展开
-
opencv识别添加圣诞帽,配置到服务器,使用Flask
实现步骤:本地调试部分上云操作服务器的部署opencv部分:参考识别部分的函数封装:参数:待处理图片:personImg帽子的图片:hatPath分类器文件:haarcascade_frontalface_default.xmldef Christmas_hat(personImg, hatPath='./hat.png', cv2_...原创 2020-03-02 22:27:59 · 105 阅读 · 0 评论 -
Centos(Linux)上部署Flask+Gunciorn+Nginx
说明:CentOS 自带的 Python 版本为 2.6.6,因为我是用 Python 3开发的,为了不与系统自带的 Python 2.6.6 冲突,考虑使用虚拟环境 VirtualEnv,Python 3 在虚拟环境中运行。下载 python 3.6.1wget https://www.Python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz1...原创 2020-02-05 10:53:45 · 281 阅读 · 0 评论