Text this: A Rapid Gradation Detection System for Earth and Stone Materials Based on Digital Image