A method of living body detection and a terminal device are provided. The method includes the following operations. A first image for a target object is obtained via a camera at a first focal length, and a second image for the target object is obtained via the camera at a second focal length. A difference image of the first image and the second image is determined. Whether the target object is a living body is determined according to the difference image.