Text this: Sand gradation detection method based on local sampling