A method of data processing for an object identification system comprising a neural network. The method comprises, in a secure environment, obtaining first sensed data representative of a physical quantity measured by a sensor. The first sensed data is processed, using the neural network in the secure environment, to identify an object in the first sensed data. The method includes determining that the identified object belongs to a predetermined class of objects. In response to the determining, a first portion of the first sensed data is classified as data to be secured, and a second portion of the first sensed data is classified as data which is not to be secured. The second sensed data, derived from at least the second portion, is outputted as non-secure data.