Text this: Determination of material depth using artificial neural network