![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
opencv
Little.Boy
这个作者很懒,什么都没留下…
展开
-
python图像处理基础项目(二) ——————— 人脸检测(级联分类器)
import cv2 as cv import numpy as np import time cap = cv.VideoCapture(0) start = time.time() counter = 0 fps = cap.get(cv.CAP_PROP_FPS)#视频平均帧率 while True : ret, frame = cap.read() # if ret == False : # break gray = cv原创 2021-07-22 17:54:37 · 268 阅读 · 0 评论 -
python图像处理基础项目(一) ——————— 特定颜色物体跟踪
import cv2 as cv import numpy as np import time start = None camera = cv.VideoCapture(0) def Video_Image(Image) : firstframe = None while True : ret,frame = Image.read() if not ret : break gray = cv.cvtColor(原创 2021-06-14 21:32:17 · 191 阅读 · 0 评论