1. A method of extracting a three-dimensional (3D) shape, the method of comprising: irradiating a target object simultaneously with a first set and a second set of polarized lights, each set comprising at least three polarized lights of a distinct wavelengths and the second set of polarized lights having at least three polarized lights of the same wavelengths as the first set of polarized lights, wherein the first set of polarized lights being polarized in a direction different from the second set of polarized lights; operating a processor to determine whether the target object is in a moving state or in a stationary state; acquiring two sets of two-dimensional (2D) images via two discrete cameras, each set of two-dimensional (2D) images from each one of the two discrete cameras comprising at least three two-dimensional (2D) images, in which each of the two-dimensional (2D) images is generated from the distinct polarized lights among the corresponding polarized lights of the first set and the second set of the polarized lights reflected on an outer surface of the target object; operating the processor to select at least three two-dimensional (2D) images among the two sets of two-dimensional (2D) images excluding two-dimensional (2D) images generated from direct reflected light; and operating the processor to synthesize said at least three of the selected two-dimensional (2D) images by a photometric stereo method.