3.HSV value test

1. Purpose of the experiment

Drive the robot dog to calibrate HSV values and identify colors

2. Experimental path source code

Enter the robot dog system, end the robot dog program, enter "ip (ip is the robot dog's ip): 8888" in the browser, enter the password "yahboom"

image-2024112100001

and log in. Enter the path of DOGZILLA_Lite_class/5.AI Visual Recognition Course/3. HSV value test and run color_recognition+hsv.ipynb .

3. Experimental Phenomenon

  1. By calling the HSV slider, first determine the HSV value of the color. If you don't want to adjust it, you can skip this step and directly use the HSV value that has been adjusted in the tutorial.

    image-2024112100002

  2. Overwrite the program value with the adjusted value. If it has not been adjusted, you can skip it directly.

    image-2024112100003

  3. Then, the robot dog 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 robot dog and the computer screen.