Text this: Automatic spinal deformity detection based on neural network