A method of living body detection, comprising: obtaining a first image for a target object via a camera at a first focal length; obtaining a second image for the target object via the camera at a second focal length, wherein the second focal length is different from the first focal length; determining a difference image of the first image and the second image; and determining whether the target object is a living body according to the difference image, characterized in that the determining a difference image of the first image and the second image comprises: obtaining a binarized first image by performing a binarization process on the first image; obtaining a binarized second image by performing a binarization process on the second image; and obtaining the difference image by calculating an absolute value of a difference between each pixel of the binarized first image and each corresponding pixel of the binarized second image, and wherein: the determining whether the target object is a living body according to the difference image comprises: acquiring a histogram of the difference image; converting the histogram into a curve diagram; and determining a similarity between the curve diagram and a preset curve diagram, and determining whether the target object is a living body according to the similarity. obtaining a first image for a target object via a camera at a first focal length; obtaining a second image for the target object via the camera at a second focal length, wherein the second focal length is different from the first focal length; determining a difference image of the first image and the second image; and determining whether the target object is a living body according to the difference image, characterized in that the determining a difference image of the first image and the second image comprises: obtaining a binarized first image by performing a binarization process on the first image; obtaining a binarized second image by performing a binarization process on the second image; and obtaining the difference image by calculating an absolute value of a difference between each pixel of the binarized first image and each corresponding pixel of the binarized second image, and wherein: the determining whether the target object is a living body according to the difference image comprises: acquiring a histogram of the difference image; converting the histogram into a curve diagram; and determining a similarity between the curve diagram and a preset curve diagram, and determining whether the target object is a living body according to the similarity. obtaining a binarized first image by performing a binarization process on the first image; obtaining a binarized second image by performing a binarization process on the second image; and obtaining the difference image by calculating an absolute value of a difference between each pixel of the binarized first image and each corresponding pixel of the binarized second image, and wherein: the determining whether the target object is a living body according to the difference image comprises: acquiring a histogram of the difference image; converting the histogram into a curve diagram; and determining a similarity between the curve diagram and a preset curve diagram, and determining whether the target object is a living body according to the similarity. acquiring a histogram of the difference image; converting the histogram into a curve diagram; and determining a similarity between the curve diagram and a preset curve diagram, and determining whether the target object is a living body according to the similarity.