Automatic lending and returning machine is the application of rfid technology. Generally speaking, there is a magnetic stripe in this book, which records all the information of this book. When you put it on the tray, it was automatically scanned.
If you want to know more, you can look at the related introduction of rfid.