Text this: Displacement measurement of soft material indentation using light intensity