Need help for an Arduino project

Hi, just a question :
in our project, the QR codes are useful because they allow us to associate each book with a subject. There's 6 books and 6 QR codes, so we think that we could put the 6 QR codes in the Arduino, and with the camera, compare the "basic" QR codes with the recognized QR codes. We think it would be easier to translate a QR code from nothing. How we should code this ?

Thanks again for everything you did for us, much appreciated !