Text this: The algorithm of crack and crack tip coordinates detection in optical images during fatigue test