The invention relates to the technical field of three-
dimensional modeling, in particular to a few-sample target detection method and
system based on a neural
radiation field, and the method comprises the steps: collecting a to-be-modeled object, and carrying out the
processing of the to-be-modeled object, and constructing a target
data set; setting multi-resolution Hash mapping through the three-dimensional coordinates, establishing a
Hash table, and obtaining mixed features based on the
Hash table; performing neural network reasoning by using MLP to obtain density and RGB color, generating light and delimiting a light range, and determining a sampling mode to construct a probability density function; rendering to obtain a multi-view texture image, and fusing and outputting a three-dimensional model by using Poisson reconstruction; constructing two-dimensional images of different angles, generating a training
data set, training the three-dimensional model by adopting the training
data set, obtaining a to-be-detected sample, and inputting the to-be-detected sample into the trained three-dimensional model to obtain a detection result; through a cooperation mechanism of explicit three-dimensional reconstruction and implicit
feature coding, a three-dimensional model is reconstructed to carry out few-sample target detection, and the
view angle constraint of traditional two-dimensional detection is broken through.