AI Powered Smart Library Management System Using Computer Vision: Barcode Recognition, Facial Authentication, Voice Search and Hybrid Book Recommendation in a Browser Based Platform
This paper presents a browser-based AI-powered library management system for Nigerian academic institutions that integrates computer vision for barcode scanning and facial authentication, voice search, and a hybrid recommendation engine, demonstrating high performance in unit tests and significant improvements in barcode decoding under adverse conditions and recommendation precision through tuned hybrid algorithms.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In many university libraries across Nigeria, the process of borrowing a book remains a quiet exercise in patience. A student stands at a desk, waits for a librarian to locate a paper register or a basic computer entry, and watches as the due date is manually written down. This traditional method works, but it is slow, offers no guidance on what to read next, and leaves librarians guessing about which books to buy for the coming year. The field of library science is currently exploring how artificial intelligence can transform these spaces, moving them from static warehouses of books into dynamic, responsive environments. The core idea is simple: use the cameras and microphones already present in modern computers to recognize books by their barcodes, identify people by their faces, and listen to spoken requests, all while learning from past borrowing habits to suggest new titles. These technologies, once the domain of expensive commercial systems, are now available as free tools that can run directly inside a web browser, offering a path to modernization without the burden of high costs or complex server setups.
Researchers at the University of Port Harcourt have built and tested a complete library system that runs entirely within a web browser, combining these advanced tools into a single, free platform. The system allows a librarian to scan a book's barcode with a webcam to check it out, verify a student's identity by scanning their face, and answer spoken questions like "find books by Chinua Achebe." Behind the scenes, the software also analyzes borrowing history to recommend new books and creates visual maps showing which subjects are most popular. The team did not just build the software; they rigorously tested how well the artificial intelligence parts actually work under real-world conditions. They found that while the system is fast and functional, its success depends heavily on the quality of the camera feed and the specific way the recommendation engine is tuned.
The most immediate challenge the researchers faced was getting the computer to read a book's barcode reliably. In a perfect world, a camera would instantly recognize the black and white stripes of an ISBN code. In reality, library lighting can be dim, hands can shake, and books are often held at awkward angles. To understand the limits of this technology, the team created a simulation using 150 valid book codes and subjected them to various conditions, such as low light, blur, and rotation. They discovered that in normal, well-lit conditions, the system reads every code perfectly. However, the system fails abruptly when the light drops to just 12 percent of normal brightness, when the image is slightly blurred, or when the book is tilted between 30 and 60 degrees. In these difficult moments, the camera simply cannot see the code. The researchers then applied a simple set of image adjustments—smoothing out the noise and stretching the contrast—and tried reading the code again from different angles. This small enhancement restored the system's ability to read the code in 99 percent of the difficult cases, turning a total failure into a near-perfect success with only a tiny delay.
The second major test focused on the system's ability to suggest books. A good recommendation engine should learn from what a student has borrowed before and suggest titles they are likely to enjoy. The researchers tested four different approaches using a massive dataset of over four million reading records from a public collection. They compared a simple method that just suggests the most popular books, a method that looks for books with similar authors or topics, and a method that finds books borrowed by people with similar tastes. The results showed that the method based on shared borrowing habits was far superior, correctly suggesting a book a student had actually read in more than one-third of the attempts. Interestingly, the team found that simply mixing all these methods together with equal weight actually made the suggestions worse. The system performed best when it relied almost entirely on the borrowing habits of similar readers, using the other methods only as a minor backup. This finding suggests that for a library to offer truly helpful suggestions, it must prioritize the collective behavior of its readers over simple popularity or topic matching.
The system also includes a feature that lets students log in by looking at a camera, eliminating the need for a physical ID card. While this works well in the browser, the researchers highlighted significant privacy and security concerns that must be addressed before such a system could be used with real students. The software currently stores a mathematical description of a person's face directly on the computer, which is a risk if the device is shared or stolen. Furthermore, the system does not yet check if the person is actually alive or if they are holding up a photograph, a vulnerability known as a "liveness" check. The researchers emphasize that for this technology to be safe, the data must be encrypted, and the system must be able to verify that a real person is present. They also noted that the accuracy of face recognition can vary depending on a person's skin tone, and the system needs to be tested with the specific population it will serve to ensure it works fairly for everyone.
Ultimately, this project demonstrates that a sophisticated, AI-powered library system can be built and run without expensive servers or licensing fees. The researchers proved that with a few smart adjustments, a standard webcam can reliably check out books even in less-than-ideal lighting, and that a carefully tuned recommendation engine can significantly improve how students discover new reading material. The system is not a finished product for immediate deployment in every library; it currently operates on a single computer, meaning each desk holds its own separate data, and it requires further security upgrades to handle sensitive biometric information safely. However, the study provides a clear blueprint for how libraries can move beyond paper registers and basic catalogs. By combining simple image processing with intelligent data analysis, a library can become a more responsive, efficient, and personalized space for learning, provided the technology is implemented with care for both its limitations and the privacy of its users.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.