Wood recognition system using neural network