The embodiment of the invention provides a
living body detection method and device and a
computer device. The method comprises the steps of obtaining a to-be-detected image of a to-be-detected object;performing
cutting according to a plurality of scales; obtaining cropped images with different scales; at the moment, since the
cropping scales are different, feature information contained in the cropped images with different scales, except the human face area, being different; inputting the plurality of cropped images with different scales into a neural network. According to the method, the feature information of the cropped images of different scales can be processed in a targeted mode, the
processing results of the cropped images of different scales are fused for
living body detection, thedetection accuracy and efficiency are improved, and
attack samples such as human face paper scraps, duplicates, human face video synthesis and masks can be effectively recognized. Moreover, in the whole detection process, the to-be-detected object does not need to cooperate with the interaction action according to the instruction, the operation is simpler and more efficient, the interaction costis reduced, and the user experience is improved.