The invention discloses a
living body skin detection method based on multispectral
depolarization. The method comprises the steps that optical parameters are initialized and matched with the environment; starting a hardware
system, synchronously acquiring facial RGB video data of the subject in parallel and
cross polarization modes, and covering multiple parts such as cheeks and necks;
key frame images in
parallel polarization and
cross polarization modes are extracted from the collected video, a
B channel interfered by
mirror reflection is abandoned, and R and G
channel data are reserved; the extracted dual-polarization image data is preprocessed,
noise is suppressed, and the subsequent calculation efficiency is improved; the R / G channel ratio in the dual-polarization mode is calculated, the intensity difference is obtained after normalization
processing, and a
living body skin heat map is constructed; the
initial heat map H is optimized, invalid areas are removed, features are smoothed,
living body skin area features are strengthened, and meanwhile
visualization is completed; and judging whether the living body skin exists in the image or not according to the feature
signal of the living body skin area in the
heat map, and outputting a detection result to complete living body recognition. According to the method, image skin area detection and recognition are carried out through dual-polarized
light source time-sharing
irradiation and a lightweight
algorithm, and meanwhile high recognition precision, high robustness and real-time performance are taken into consideration.