Text this: Digital automatic measurement method for geological information of rock mass structure