计算机视觉
itsverycool
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Python 实现OpenCV DNN人脸检测
import cv2 modelFile = "./model/res10_300x300_ssd_iter_140000_fp16.caffemodel" configFile = "./model/deploy.prototxt" faceDetect = cv2.dnn_DetectionModel(modelFile, configFile) if __name__ == "__main__": cap = cv2.VideoCapture(1) cap.set(3, 1920)原创 2020-12-16 19:01:18 · 617 阅读 · 0 评论 -
numpy.frombuffer+cv2.imdecode读取内存中的图像
nparr = np.frombuffer(image, np.uint8) img_decode = cv2.imdecode(nparr, 1) DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use frombuffer instead原创 2020-11-26 00:05:56 · 2231 阅读 · 0 评论
分享