3. HSV value test

1. Experimental purpose

Drive the car to calibrate HSV value and identify color

2. Experimental path source code

Enter the car system, end the car program, enter "ip (ip is the car's ip): 8888" in the browser, enter the password "yahboom" image-2024112100001 Then log in Enter the path of Rider-pi_class/5.AI Visual Recognition Course/3. HSV value test and run color_recognition+hsv.ipynb.

3. Experimental phenomenon

  1. Determine the HSV value of the color by calling the HSV slider. If you don't want to adjust it, you can skip this step and use the HSV value that has been adjusted in the tutorial image-2024112100002
  2. Overwrite the adjusted value with the value in the program. If you haven't adjusted it, you can skip it directly. image-2024112100003
  3. Then run it down, the car will select the color to be recognized according to the adjusted HSV value and perform the corresponding color recognition image-2024112100004

4. Analysis of main source code parameters

Color_Recongnize: is a function thread for color recognition. By recognizing the target color, the result is displayed on the screen of the car and the screen of the computer.