According to the image recognition device and method, a current resistance relational expression is obtained according to the resistance values of a plurality of second memristors, the resistance value of a second column selection switch and a plurality of test currents, and the resistance value when the column selection switch is conducted is considered; after the weight
voltage obtained according to the conductance value of the first
memristor and the current resistance relational expression is input to the row
signal end of the
memristor sub-array, accurate mapping of the conductance value of the first
memristor and the weight of the neural network can be realized. The plurality of column currents output from the plurality of column
signal ends of the memristor sub-array are multiplication accumulation of the to-be-identified
voltage and the conductance value of the memristor sub-array on the column, so that the accuracy of the
image identification result determined according to the plurality of column currents is very high; switch control and
data control are separated to different FPGAs, so that the reliability, flexibility and isolation of the device can be improved; and the serial-parallel conversion module is arranged, so that the IO
interface pressure of the FPGA can be reduced, and the expandability is improved.