Classification of dry beans