The invention discloses a field wheat
aphid counting method. The method comprises the following steps of
image acquisition: when wheat is grown into a
booting stage from a jointing stage, acquiring a wheat-
plant original image through a
digital camera, acquiring X small pixel subimages in the original image and taking as a training sample; training
sample collection: randomly intercepting N
aphid images from the original image and taking as a
positive sample, and randomly intercepting M images and taking as a
negative sample; identification model training: extracting HOG characteristics of the
positive sample and the
negative sample, inputting the HOG of the
positive sample and the
negative sample into a
SVM classifier to carry out training so as to obtain an
insect pest classification model, using the samples to rectify the model and verifying an
insect pest identification model;
aphid detection: searching a MSER in the original image and finally using the
SVM classifier to search aphids in a MSER area and
record an aphid quantity. Operation is simple and aphid quantity calculating is high-efficient and accurate.