How to do Resize of image in Opencv Python Code: import cv2 import numpy as np img = cv2.imread('input.jpg') print(img.shape) imgResize = cv2.resize(img,(300,20…
Read moreHow to Draw a rectangle in Opencv Python As we all know a image in nothing a 2d graph in which several pixels are there arranging rows and colum Note : I am assuming t…
Read moreImage Translation in OpenCV Python Image Input : import cv2 import numpy as np img = cv2.imread('1.jpg') rows, cols = img.shape[0],img.shape[1] translation= np.f…
Read moreHow to draw line on image in OpenCv Python Video Explanation: As we all know a image in nothing a 2d graph in which several pixels are there arranging rows and colum N…
Read more
Social Plugin