III. MATERIALS AND METHOD
In this section, the proposed algorithm is discussed. Here, different varietal samples of Basmati rice are used. The number of Basmati rice (Oryza sativa L) seeds with long seeds, normal seeds as well as small seeds has counted by using perimeter of rice seed. Perfect thresholding and object detection has been used for calculating the number of chalky rice. Object classification has been used for calculating the number of broken rice