Python generates character video

Python generates character video 1, Foreword The video output of the Caton command line is not very good, but the effect of using the Caton command line is not good. So I intend to directly generate an mp4 character video. The general idea is the same as before: Python 20 lines of code to realize video character. Let's take a look at an eff ...

Added by Master Zen on Thu, 10 Feb 2022 19:51:02 +0200

Python OpenCv realizes real-time face recognition and face distance measurement

Python OpenCv realizes real-time face recognition and face ranging prepare Before the development of facial ranging, first install four libraries in your Python, namely cvzone library, mediapipe library, tensorflow library and tensorflow GPU library. It is faster to install cvzone library and mediapipe library. You can install them quickly by ...

Added by hollyspringer on Thu, 10 Feb 2022 16:49:06 +0200

Animation with Matplotlib+Imageio

1. Draw dynamic line chart . 1.1 draw a dynamic broken line diagram that does not start when the , x-axis coordinate is 0 , import os import numpy as np import matplotlib.pyplot as plt import imageio # The number of generated values is between 40 and 50 y = np.random.randint(25,40,size = 50) # Draw polylines plt.plot(y) # Sets the minimum a ...

Added by zipdisk on Thu, 10 Feb 2022 12:53:19 +0200

Opencv image processing -- morphological operation

1 connectivity In the image, the smallest unit is the pixel, and there are 8 critical pixels around each pixel. There are three common adjacency relationships: 4 adjacency, 8 adjacency and D adjacency. As shown in the figure below: 4 adjacency: the 4 neighborhood of pixel p (x, y) is: (x+1, y); (x-1,y); (x,y+1); (x, y-1), N4 § is u ...

Added by ghadacr on Thu, 10 Feb 2022 02:40:49 +0200

Tennis target detection -- Based on Python opencv

1. Problem description This paper realizes the real-time detection of the tennis ball in the image by reading the image taken by the camera, calculating its distance and determining its orientation. The core problem is how to detect tennis from the picture taken by the camera and eliminate interference items. In addition, in order to apply thi ...

Added by funkdrm on Tue, 08 Feb 2022 19:27:01 +0200

Teach you how to do ORB SLAM3 with OAK-D and ROS noetic based on LXD

Translation | OAK China Author| nindanaoto This article was first published in oakchina.cn 1, Foreword In this article, I will explain how to use based on LXD OAK-D ORB SLAM3 with ROS noetic. I assume that the reader is using Ubuntu as the host operating system and has some basic knowledge of ROS and LXD. 2, General settings In this sect ...

Added by thinguy on Tue, 08 Feb 2022 10:23:11 +0200

[OpenCV complete routine] 93 Histogram of noise model

[OpenCV complete routine] 93 Histogram of noise model Welcome to pay attention "100 complete OpenCV routines" Series, continuously updating Welcome to pay attention "Python Xiaobai's OpenCV learning course" Series, continuously updating 2. Noise model The noise source in digital image mainly comes from the process ...

Added by renu on Tue, 08 Feb 2022 03:38:49 +0200

opencv color space type conversion (python)

Color space type conversion Color model is an abstract mathematical model that describes the method of using a set of values (usually three or four values or color components) to represent color. Common color spaces include: GRAY color space (GRAY image)XYZ color spaceColor space crybHSV color spaceHLS color spaceCIELab color spaceCIELuv ...

Added by hhawkins on Mon, 07 Feb 2022 22:13:54 +0200

Install opencv on raspberry pie

1. Replace the update source and download source Using the command lsb_release -a view the current raspberry pie system version. The code of this version is "buster" pi@raspberrypi:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster Rep ...

Added by kostasls on Mon, 07 Feb 2022 10:42:29 +0200

Getting Started with Lane Line Detection OpenCV

This is a plain white book (So Big Readers can move on), and readers can combine videos. I'm sure you can't see the end of the story. So see the beginning of the little buddy can point a compliment? * The little white that is splitting fast Catalog Read, display and save pictures color image Grayscale Image Code #02Canny Edge Detecti ...

Added by ChessclubFriend on Fri, 04 Feb 2022 20:10:53 +0200