Tutorial
Table Of Contents
- 1. Premise
- 2. Raspberry Pi System Installation and Developmen
- 3 Log In to The Raspberry Pi and Install The App
- 4 Assembly and Precautions
- 5 Controlling Robot via WEB App
- 6 Common Problems and Solutions(Q&A)
- 7 Set The Program to Start Automatically
- 8 Remote Operation of Raspberry Pi Via MobaXterm
- 9 How to Control WS2812 RGB LED
- 10 How to Control The Servo
- 11 How to Control DC Motor
- 12 Ultrasonic Module
- 13 Line Tracking
- 14 Make A Police Light or Breathing Light
- 15 Real-Time Video Transmission
- 16 Automatic Obstacle Avoidance
- 17 Why OpenCV Uses Multi-threading to Process Vide
- 18 OpenCV Learn to Use OpenCV
- 19 Using OpenCV to Realize Color Recognition and T
- 20 Machine Line Tracking Based on OpenCV
- 21 Create A WiFi Hotspot on The Raspberry Pi
- 22 Install GUI Dependent Item under Window
- 23 How to Use GUI
- 24 Control The WS2812 LED via GUI
- 25 Real-time Video Transmission Based on OpenCV
- 26 Use OpenCV to Process Video Frames on The PC
- 27 Enable UART
- 28 Control Your AWR with An Android Device
- Conclusion
2
14.1 Multi-threading Introduction
.....................................................................................................................................
75
14.2 Realization of Police Lights / Breathing Lights
............................................................................................................
75
14.3 Warning Lights or Breathing Lights in Other Projects
................................................................................................
80
15 Real-Time Video Transmission
.......................................................................................................................................
81
16 Automatic Obstacle Avoidance
......................................................................................................................................
85
17 Why OpenCV Uses Multi-threading to Process Video Frames
......................................................................................
88
17.1 Single Thread Processing of Video Frames
.................................................................................................................
88
17.2 Multi-thread Processing of Video Frames
..................................................................................................................
89
18 OpenCV Learn to Use OpenCV
.......................................................................................................................................
93
19 Using OpenCV to Realize Color Recognition and Tracking
............................................................................................
97
19.1 Color Recognition and Color Space
............................................................................................................................
97
19.2 Process of Color Identifying and Tracking
..................................................................................................................
97
19.3 Specific Code
...............................................................................................................................................................
98
19.4 HSV Color Component Range in OpenCV
.................................................................................................................
101
20 Machine Line Tracking Based on OpenCV
...................................................................................................................
102
20.1 Visual Line Inspection Process
..................................................................................................................................
102
20.2 Specific Code
.............................................................................................................................................................
103
21 Create A WiFi Hotspot on The Raspberry Pi
................................................................................................................
105
22 Install GUI Dependent Item under Window
................................................................................................................
106
22.1 Install GUI Dependencies
..........................................................................................................................................
106
23 How to Use GUI
............................................................................................................................................................
107
24 Control The WS2812 LED via GUI
.................................................................................................................................
108
25 Real-time Video Transmission Based on OpenCV
........................................................................................................
113
26 Use OpenCV to Process Video Frames on The PC
.......................................................................................................
116
27 Enable UART
.................................................................................................................................................................
120
27.1 Mini UART and CPU Core Frequency
........................................................................................................................
120
27.2 Disabling Linux's Use of Console UART
....................................................................................................................
120
27.3 UART Output on GPIO Pins
.......................................................................................................................................
121
27.4 UARTs and Device Tree
.............................................................................................................................................
121
27.5 Relevant Differences Between PL011 and Mini UART
.............................................................................................
122
28 Control Your AWR with An Android Device
.................................................................................................................
122
Conclusion
.................................................................................................................................................................................
124