A medicine inspection assistance device, an image processing device, an image processing method and a program are provided that appropriately recognize identification information irrespective of whether the identification information is an engraved mark or a printed character. The above object is achieved by an image processing device that obtains a plurality of taken images of a medicine, performs a process of enhancing an engraved mark portion of the medicine based on at least one taken image among the taken images and generates a first enhanced image, performs a process of enhancing a printed character portion of the medicine based on at least one taken image among the taken images and generates a second enhanced image, collates an integrated image obtained by integrating the first enhanced image and the second enhanced image with each other, with a master image, and determines whether the medicine to be dispensed and the dispensed medicine are identical to each other or not.