python-第三方库-cv2
北海北_CrazyZheng
这个作者很懒,什么都没留下…
展开
-
级联分类器训练(traincascade)之后检测(cv2.CascadeClassifier)
训练级联分类器训练用户指南:http://www.opencv.org.cn/opencvdoc/2.3.2/html/doc/user_guide/ug_traincascade.html训练过程:https://blog.csdn.net/qq_32502511/article/details/79010509训练结果:N是训练层级,HR(hit rate) 是正样本输入后...原创 2019-03-05 00:44:56 · 3595 阅读 · 0 评论 -
opencv安装
opencv在各种系统安装教程;https://www.pyimagesearch.com/opencv-tutorials-resources-guides/Ubuntu 16.04: How to install OpenCV:https://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/...原创 2019-03-05 12:30:24 · 225 阅读 · 0 评论 -
practical python and opencv_3rdEdition
cv2.destroyAllWindows()image = cv2.imread('c:/Users/oucbu/Pictures/1.jpg')image’s type is <class 'numpy.ndarray'>所以之后对image的处理就跳到了numpy的应用了。此时的image是一个三维数组。数组大小为:img.shape=(heigh...原创 2019-03-05 23:07:40 · 457 阅读 · 0 评论 -
opencv常用
# -*- coding: utf-8 -*-"""Created on Sat Jan 5 15:44:42 2019@author: oucbu""" import cv2import numpy as npfrom matplotlib import pyplot as pltimg=cv2.imread('1.jpg',0)#0为灰度图cv2.imwrite('...原创 2019-03-06 00:43:43 · 163 阅读 · 0 评论