Smart detection of rice purity and its grading | IEEE Conference Publication | IEEE Xplore