BPNN is used to classify pixels based on their color and position.
The main body and edge of fruits are recognized respectively.
The position information is represented as the relativity of adjacent pixels.
The method can reduce the influence of Shadows and faculae effectively.