Today we are going to explore an example of code for drawing images, actually we can draw polygons like triangles, quadrangles, etc… circles, lines.We are using Numpy (Numerical Python) library for generating an image. import cv2import numpy as npimage = np.zeros((600,600,3), np.uint8)cv2.line(image, (600,600), (0,0), (255,99,71), 5)cv2.imshow(“Blue Line”, image)cv2.waitKey(0)cv2.destroyAllWindows() line 1 we import cv2 libraryline 2 […]
Show Images
Computer Vision is a wide topic but after showing some interesting projects I think we should start going to the root… the code, We use Python for coding our Computer Vision projects and there are numerous Open CV packages already created for coding Computer Vision projects, we will use Open CV which is an Open […]
Create a Sketch video from your web cam
Today we continue with the Sketch project. We use the web built-in cam in our opencv app to Sketch the image and display it but today we modify our app in order to have a video. For doing this we have to follow some specific steps : 1.- Convert our image to gray scale, using […]
OpenCV Face Detector with Videos.
How does OpenCV Face Detector can identify faces in a video? For face detection with OpenCV you use pre-trained deep learning face detector model shipped with the library. Similar to picture face detection we use a pre-trained deep learning face detector model, so with base on the same code we used for picture face detection […]