Text this: Selective protection of cereals using artificial neural networks