摘要:
from imutils import * image = imread('face.png') show(image) 1. image:输入图像 2. scaleFactor=1.1:这个是每次缩小图像的比例,默认是1.1 3. minNeighbors=3:匹配成功所需要的周围矩形框的数目,每 阅读全文
摘要:
import numpy as np import cv2 1.摄像头读取数据 # 从摄像头获取图像数据 cap = cv2.VideoCapture(0) while(True): # ret 读取成功True或失败Falseq # frame读取到的图像的内容 # 读取一帧数据 ret,fram 阅读全文
摘要:
Tensorflow 模型的保存、读取和冻结、执行 阅读全文
摘要:
转自 https://www.cnblogs.com/zerotoinfinity/p/10242849.html 一、模型的保存 使用tensorflow训练模型的过程中,需要适时对模型进行保存,以及对保存的模型进行restore,以便后续对模型进行处理。如:测试、部署、拿别的模型进行fine-t 阅读全文