06
Feb
FORAY - Using Color Threshold Selector, Modularizing blimp code, and Testing new green ball detection algorithm
Jillian Naldrien Pantig FORAYFor Week 5 of Winter 2022, our team worked on the following:
- A new ML green ball detection algorithm (See Zhaoliang’s blog)
- A modularized blimp code where everything is not fused into one .py file. This will be easier to use whenever there are changes to be made.
- An easy way of finding the color threshold based on the environment where the green balloon is (See video below)
NOTE: The video shows how to use the color threshold selector. Basically, there are six adjustable sliders that are adjusted until the three video feeds below properly shows the green ball.
- Using the new green ball detection algorithm to set the pwm values of the motors for auto control (See video below)
NOTE: In the video, the ESP-32 cam may sometimes detect other small green objects in the environment (see flashing small boxes in the middle-end of the video). These does not have any effect as the green ball detection only measures the coordinates and area of the largest object whose color matches the defined color threshold.