The invention discloses a
small sample target detection method and
system based on support and query samples, comprising support sample and query sample
feature extraction, support sample weighting based on query sample guidance, query feature enhancement based on support sample guidance, scoring and screening of candidate boxes, and mixed
loss function calculation. A
small sample learning mechanism is introduced into a deep target detection framework, and a set of
small sample target detection
system with high accuracy is established. The method is simple in framework, convenient to use, high in expandability and high in
interpretability, and results of small sample target detection of two mainstream visual attribute data sets exceed those of an existing method. The method can provide basic framework and
algorithm support for the target detection technology in the military and industrial application field, and can be easily expanded to other small sample learning tasks.