Text this: Development and application of a machine vision system for measurement of tool wear