Rice is the source of Pakistan agriculture industry and food. For agriculture, industry and the oldest sector in the world use rice for different purpose. There are many challenges in the particular sector such as their analysis. This analysis mostly often related to its texture, color, shape, grain etc. In this study, Vision system used to check the quality of rice using some texture features such as color, shape and characteristics. In this study Computer Vision Image Processing tool applied on three different types of rice. Using this tool we apply pattern classification using nearest neighbor and K-nearest neighbor algorithm. Using these algorithms we get results of three varieties of rice Bastmati, Jasmine and White rice. In both algorithms white rice result show best from Basmati rice and Jasmine rice. White rice result is 93.75 % which is best as quality wise. Other tool also available like as MATLAB, Mazda etc for future more best prediction.