07 2021 档案

摘要:1. 安装supervisor supervisor可以帮助我们盯着python程序,哪怕是python程序不小心挂掉了,supervisor也会帮我们立即启起来,首先开始安装 pip install supervisor -i https://pypi.tuna.tsinghua.edu.cn/s 阅读全文
posted @ 2021-07-09 15:44 牛郎 阅读(835) 评论(0) 推荐(0)
摘要:基于dlib识别人脸68个关键点: predictor = dlib.shape_predictor('res/model.dat') predictor(gray, det) 使用cnn提取特征时,偶尔会报错: 1. (self: _dlib_pybind11.shape_predictor, i 阅读全文
posted @ 2021-07-05 17:44 牛郎 阅读(1030) 评论(0) 推荐(0)
摘要:# 下载和保存图像 import requests video_url = '*****' response = requests.get(url=video_url) # 下载视频到本地1.mp4 video_bytes = response.content temp_video_path = ' 阅读全文
posted @ 2021-07-01 15:41 牛郎 阅读(434) 评论(0) 推荐(0)