Influence of Light, Distance and Size on Recognition and Classification of Food Grains' Images