Text this: A Machine Learning Approach for the Autonomous Identification of Hardness in Extraterrestrial Rocks from Digital Images