Toriyung

导航

2022年3月13日 #

numpy Q&A_2

摘要: 2022/03/13 numpy的"xx_like()"一类函数 代码 import numpy as np a = np.full((2,4),6) print(a) b = np.full_like(a,5) print(b) c = np.zeros_like(a) print(c) 运行效果 阅读全文

posted @ 2022-03-13 22:50 Toriyung 阅读(15) 评论(0) 推荐(0) 编辑

Opencv Q&A_7

摘要: 2022/03/13 基于opencv和dlib库的图像切割landmark和换色 代码 import cv2 as cv import numpy as np import dlib def nothing(x): pass def extractBlock(img,points,mode,bar 阅读全文

posted @ 2022-03-13 22:41 Toriyung 阅读(31) 评论(0) 推荐(0) 编辑

Opencv Q&A_6

摘要: 2022/03/12-2022/03/13 基于YOLO3的物体识别 代码 import cv2 as cv import numpy as np whT = 320 confidence_thres = 0.5 NMS_thres = 0.2 ## 模型配置文件和权重文件路径 modelConfi 阅读全文

posted @ 2022-03-13 16:48 Toriyung 阅读(73) 评论(0) 推荐(0) 编辑