Introduction - If you have any usage issues, please Google them yourself
Step 1: The binary image of the results are saved as binary.bmp Step 2: fill with a different color connected domain (connected component), and results are saved as connect.bmp Step 3: In the binary image to find contours and store countour.bmp