A dishwasher, comprising: a case defining an outer appearance and an opening at a front side thereof; a door configured to close the open front side of the case; a tub configured to provide a washing chamber; a rack (11, 12) disposed inside the tub and configured to accommodate a dish; a dish recognition camera (20, 20a-20d) disposed on at least one of an inner surface of the door or an inner surface of the tub and configured to capture an upper portion of the rack (11, 12); and a controller configured to control driving of the dishwasher and the dish recognition camera (20, 20a-20d), wherein the controller is configured to: obtain a first dish image and a second dish image captured at different time points by the dish recognition camera (20, 20a-20d) based on a preset operation, characterized in that the controller is further configured to: process the obtained first dish image and second dish image, and determine an abnormal operation of the dish recognition camera (20, 20a-20d) based on a result of processing the images, extract static pixels from pixels of each of the first dish image and the second dish image; classify a contamination area based on the static pixel and determine a state of the dish recognition camera (20, 20a-20d) as a lens damage state or a panel contamination state based on a number of static pixels in the contamination area being exceeding a number of preset reference pixels, or based on a brightness value of each of pixels of the first dish image being identical to a brightness value of each of pixels of the second dish image by comparing the brightness value of each of pixels of the first dish image with the brightness value of each of pixels of the second dish image, determine that an image sensor of the dish recognition camera (20, 20a-20d) is damaged, or determine a state of a color filter of the dish recognition camera (20, 20a-20d) as a failure state based on a color value of a pixel at a portion corresponding to an identifier of the first dish image or the second dish image being different from a color value of a pixel at a portion corresponding to an identifier of a preset reference image. a case defining an outer appearance and an opening at a front side thereof; a door configured to close the open front side of the case; a tub configured to provide a washing chamber; a rack (11, 12) disposed inside the tub and configured to accommodate a dish; a dish recognition camera (20, 20a-20d) disposed on at least one of an inner surface of the door or an inner surface of the tub and configured to capture an upper portion of the rack (11, 12); and a controller configured to control driving of the dishwasher and the dish recognition camera (20, 20a-20d), wherein the controller is configured to: obtain a first dish image and a second dish image captured at different time points by the dish recognition camera (20, 20a-20d) based on a preset operation, characterized in that the controller is further configured to: process the obtained first dish image and second dish image, and determine an abnormal operation of the dish recognition camera (20, 20a-20d) based on a result of processing the images, extract static pixels from pixels of each of the first dish image and the second dish image; classify a contamination area based on the static pixel and determine a state of the dish recognition camera (20, 20a-20d) as a lens damage state or a panel contamination state based on a number of static pixels in the contamination area being exceeding a number of preset reference pixels, or based on a brightness value of each of pixels of the first dish image being identical to a brightness value of each of pixels of the second dish image by comparing the brightness value of each of pixels of the first dish image with the brightness value of each of pixels of the second dish image, determine that an image sensor of the dish recognition camera (20, 20a-20d) is damaged, or determine a state of a color filter of the dish recognition camera (20, 20a-20d) as a failure state based on a color value of a pixel at a portion corresponding to an identifier of the first dish image or the second dish image being different from a color value of a pixel at a portion corresponding to an identifier of a preset reference image. process the obtained first dish image and second dish image, and determine an abnormal operation of the dish recognition camera (20, 20a-20d) based on a result of processing the images, extract static pixels from pixels of each of the first dish image and the second dish image; classify a contamination area based on the static pixel and determine a state of the dish recognition camera (20, 20a-20d) as a lens damage state or a panel contamination state based on a number of static pixels in the contamination area being exceeding a number of preset reference pixels, or based on a brightness value of each of pixels of the first dish image being identical to a brightness value of each of pixels of the second dish image by comparing the brightness value of each of pixels of the first dish image with the brightness value of each of pixels of the second dish image, determine that an image sensor of the dish recognition camera (20, 20a-20d) is damaged, or determine a state of a color filter of the dish recognition camera (20, 20a-20d) as a failure state based on a color value of a pixel at a portion corresponding to an identifier of the first dish image or the second dish image being different from a color value of a pixel at a portion corresponding to an identifier of a preset reference image.