Text this: A fully automatic curve localization method for extracted spine