Rich's Wordpress

又一个WordPress站点

Month: June 2024

BeBOP Chapter 5 Key Note: Primitive Logic Functions

Switch Representations of AND and OR These circuits are making simple logical decisions, two switches offer four combinations of OPEN and OFF, but only certain combinations cause the light to be turned on. BUF vs NOT BUF: NOT: The waveforms show delays between transitions on the inputs and corresponding responses at the outputs. The actual […]

BeBOP Chapter 4 Key Note: Semiconductors

The Electromechanical Relay Vacuum Tubes Semiconductors Semiconductor Diodes Bipolar Junction Transistors (BJTs) NPN: When the P-type silicon is in the middle, a positive potential difference has to be applied to the base to let it conduct, otherwise it will not conduct. PNP: When the N-type silicon is in the middle, a negative potential difference has […]

BeBOP Chapter 3 Key Note:

The way electrons move in a wire: When a potential difference is applied to a wire, an electric field is created across the wire, and electrons throughout the wire start moving due to this field. Together with the field the electron repels the nearest electron in the wire out of the way, this electron in […]

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