1. A liveness testing method comprising: testing a liveness of an object included in a received input image based on whether an image of the object has a characteristic indicative of a flat surface or a characteristic indicative of a three-dimensional (3D) structure.