Text this: A method for detecting the rate of tobacco leaf loosening in tobacco leaf sorting scenarios