![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Opencv
XianxinMao
这个作者很懒,什么都没留下…
展开
-
opencv read images in BGR channels
import sysimport dlibfrom skimage import ioimport cv2# Load the image into a arrayimage = io.imread(file_name)array([[[255, 255, 255], [255, 255, 255], [255, 255, 255], ..., ...原创 2018-03-08 20:11:25 · 417 阅读 · 0 评论 -
useful opencv function
Python: cv2.resize(src, dsize[, dst[, fx[, fy[, interpolation]]]]) image = cv2.imread('ironman.png')gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)link address: https://extr3metech.wordpress.com/...原创 2018-03-02 16:07:44 · 224 阅读 · 0 评论 -
opencv cv2.dnn.blobFromImage
import cv2import numpy as npimage = cv2.imread("/home/mao/Pictures/view1.jpeg")image.shape # H, W, C(183, 275, 3)image_subtract = image - 128.0blob = cv2.dnn.blobFromImage(image, 1.0, (275, 183),(128...原创 2018-05-10 14:58:54 · 10832 阅读 · 1 评论 -
deep learning face detection
you can perform fast, accurate face detection with OpenCV using a pre-trained deep learning face detector model shipped with the library"hidden" deep learning-based face detector that has been part of...翻译 2018-05-20 18:45:43 · 657 阅读 · 0 评论 -
object detection with deep learning and opencv
a couple weeks ago we learned how to classify images using deep learning and OpenCV 3.3's deep neural network (dnn) modulein order to obtain the bounding box (x, y)-coordinates for an object in a imag...翻译 2018-05-20 21:35:19 · 452 阅读 · 0 评论 -
deep learning with opencv
furthermore, this API for using pre-trained deep learning models is compatible with both the C++ API and the python bindings, making it dead simple to: (1)load a model from disk (2)pre-process an inpu...翻译 2018-05-20 23:31:34 · 421 阅读 · 0 评论