Object detection: In this paper object detection is used for two purposes one for detection of chalky rice seeds and another for detection of all rice seeds.
First whole image is being selected as a region of interest. After specifying a region of interest, the step automatically tries to locate objects in the region. Pixels with intensity values in the specified threshold range appear blue in the image. Label mark the bounding rectangles of each individual object that the step located. This step gives the result in terms of number of chalky rice and number of all rice seeds. Fig. 4 (a) shows the binary image of chalky portion in rice seeds and Fig. 4 (b) shows the binary image of all rice seeds after object detection.