Rich's Wordpress

又一个WordPress站点

OpenCV

OpenCV 3: Drawing on Images

The OpenCV can also allow us to edit the images by drawing on them or writing texts on them. Create Blank Image: We can draw and write on an existing image file or create a blank image and edit it. To create a blank image, we need to use the “np.zeros((500,500,3), dtype=’uint8′)” np.zeros((500,500,3), dtype=’uint8′): This […]

OpenCV 2: Rescale Images and Videos

The size or scale of the image or video may sometimes be too big not as desired, we can fix the problem by changing the width and height of the file. To rescale an image or video, we need to create a function which I named it rescaleFrame. Two parameters need to be passed in, […]

OpenCV 1: Reading Images and Videos

I decided to start learning how to use the OpenCV library in Python! The OpenCV library is a popular computer vision library for beginners to use, it can be used for jobs like detecting objects and processing videos. By combining this library with Raspberry Pi, I will be able to achieve more applications. Reading Image: […]

Scroll to top