This document presents a study that aims to analyze and classify rice grains using image processing techniques. The study develops image processing algorithms to segment and identify rice grains in images. By measuring the size (length and breadth) of rice grains through edge detection and a caliper, the algorithms can efficiently analyze grain quality and classify grains. The algorithms are able to generalize classifications across diverse rice varieties by also extracting Fourier features from grain images. The study proposes a methodology involving image pre-processing, morphological operations, edge detection, measurement, and classification to accurately quantify and categorize rice seeds based on size and shape attributes analyzed through images. The methodology aims to provide an alternative approach to rice quality analysis that is more efficient, cost-effective and reduces