I am developing an algorithm in Python, which is supposed to identify the area on a leaf that contains spots to report the severity of a disease. During my research, I found out about LeafSnap and got inspired by it. So, I tried to follow the paper to segment the leaf on the image using OpenCV Expectation Maximization, which is trained using S and V form HSV color space; however, it still returns some false positives due to reflection or shadow.
Could someone try to give me any hint to get some better results? I didn't have applied any techniques of preprocessing!