An image recording apparatus for recording image data of an inspection
object and inspection data corresponding to inspection results outputted
at their own respective timings from an inspection apparatus which judges
quality by an image recognition process is equipped with a temporary
storage portion for temporarily storing the image data and the inspection
data, a storage device, and a control portion for synchronizing the image
data and the inspection data and storing the synchronized image data and
inspection data in the storage device based on relative position data from
a prescribed signal sent from the inspection apparatus, wherein the
control portion accesses the temporary storage portion to acquire previous
data for at least the prescribed signal.