Text this: Detection of external defects of tomato crop using appearance parameters by convolutional neural networks