Patent attributes
A dishwasher includes: a tub, a sump disposed in the tub, a rack disposed in the sump and receiving an object, a plurality of lighting devices disposed at the tub and configured to illuminate an upper end portion of the rack, a measuring camera disposed at the tub and capturing an image of the upper end portion of the rack and generating an object image, and a controller configured to perform a first lighting control on the lighting devices, acquiring a first object image generated based on a first image of the rack captured by the measuring camera, performing a second lighting control on the lighting devices, acquiring a second object image generated based on a second image of the upper end portion of the rack captured by the object measuring camera, and generating a three-dimensional shape image of the object based on the first and second object images.