OpenCV 5: Transformations
Read in images and import both numpy and cv2: Translation Rotation Flipping
又一个WordPress站点
又一个WordPress站点
Read in images and import both numpy and cv2: Translation Rotation Flipping
Import Open CV and choose a picture to read in to be used later on. Gray Scale Blur Edge Cascade Dilating Image Eroding Image Resize Crop
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 […]
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 […]
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 […]
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 […]
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, […]
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: […]
The purpose of this is to realize the basic function of taking photos by programming and applying the camera module. Basic information about this camera: Number of Pixels Five million Resolution 2592×1944 Size 25 x 24 x 9 mm How to install the camera on the the Raspberry Pi? The installation of the Raspberry PI […]
An ultrasonic sensor is a sensor that measures distance. The idea is to utilize the property of sound waves of reflection to receive the reflected signal upon striking obstructions, and then use the speed at which the waves travel through the air to calculate distance. There are four pins on the sensor they are for 5V Supply, […]