The invention discloses an end-side
palm vein representation
attack detection method and device based on key point guidance, and the method comprises the steps: inputting a palm image into a palm detection and key point positioning
network model, obtaining a palm target frame, four key point coordinates at a palm finger gap valley point, and corresponding confidence, and completing the judgment of the validity of an input sample, if the samples are invalid samples, outputting marks and ending, and if the samples are valid samples, calculating palm
posture correction parameters through key point coordinates, and performing rotation correction on the palm image; on the corrected image, whether key points for constructing the ROI conform to preset legality constraints or not is judged, if yes, the ROI is determined and
cut according to the geometric relation of the key points, an ROI normalized image is obtained after zooming, and if not, the image is generated through an ROI
rollback strategy; and inputting the ROI normalized image into the end-side
palm vein representation
attack detection
network model to obtain an
attack probability of the sample, comparing the attack probability with a preset threshold, outputting a judgment result, and synchronously outputting the attack probability and the preset threshold.