1 | initial version |
The image below has 4 sections for each step.
green channel using extractChannel(src, dst, 1)
threshold with threshold value 240
dilate with rect kernel of size 3x3 for 1 iteration
find contours and filter by excluding contours with area < 1000 and excluding contours with center y > 300