April 2018
Beginner
552 pages
13h 58m
English
import cv2 # Import Numerical Python package - numpy as np import numpy as np
image = cv2.imread('image_6.jpg')
cv2.imshow("Original", image)
cv2.waitKey(0)
# Blurring images: Averaging, cv2.blur built-in function # Averaging: Convolving image with normalized box filter # Convolution: Mathematical operation on 2 functions which produces third function. # Normalized box filter having size 3 x 3 would be: # (1/9) [[1, 1, 1], # [1, 1, 1], # [1, 1, 1]] blur = cv2.blur(image,(9,9)) ...