Text this: Characterising failure of structural materials using digital images