I think u r saying combination of two thing one is object tracking and second is classification of object using neural network. What I will suggest you refer openCV example of object tracking and read more on what is your object your are looking for and what are the feature set of such object recognition from neural network.