AI Powered Smart Library Management System Using Computer Vision: Barcode Recognition, Facial Authentication, Voice Search and Hybrid Book Recommendation in a Browser Based Platform
Most academic libraries in Nigeria still lend books with paper registers or basic catalogue software, which makes checkout slow, gives members no guidance on what to read next and gives librarians little evidence for buying decisions. This paper presents an AI powered smart library management system that runs entirely in the web browser. It combines computer vision barcode scanning of ISBN codes for checkout, facial recognition with 128 dimensional face descriptors for member authentication, voice search through the Web Speech API, a hybrid book recommendation engine, a category heat map and a demand forecasting module, with all data kept on the client. The system was built with HTML5, JavaScript, FaceAPI.js on TensorFlow.js, Html5Qrcode and Chart.js, and passed ten unit tests covering cataloguing, membership, borrowing, returns, voice search, recommendation, heat maps, face registration, face login and barcode scanning; pages loaded in 1.2 seconds and voice queries returned in 1.5 seconds. Because functional tests do not show how well the AI parts work, we evaluated two of them further. In a controlled study of 150 synthetic ISBN barcodes under simulated camera conditions, the standard decoder read every code in normal light, with perspective tilt up to 30 percent and rotation up to 20 degrees, but failed completely at 12 percent of normal light, at a blur of 2 pixels and at rotations of 30 to 60 degrees; a simple enhancement step (median filtering, contrast stretching and rotated retries) restored decoding to 99.3 percent at 8 percent light, 98.7 percent at a blur of 2 pixels and at least 98.7 percent at every rotation, at a median cost of a few milliseconds in good conditions. In an offline evaluation on 4.0 million interactions between 53,120 readers and the 2,000 most read titles of the goodbooks 10k dataset, item to item collaborative filtering reached a precision of 33.6 percent among four suggestions, against 12.8 percent for popularity and 15.1 percent for author and tag matching; a hybrid with equal weights, as first implemented, fell to 26.6 percent, while weights tuned on separate readers reached 33.8 percent with a hit rate of 70.7 percent. We discuss the privacy of face data under the Nigeria Data Protection Act 2023, the need for liveness detection, and the steps needed to move the system from a single browser to a shared library database.
Authors
- Nnaemeka Kingsley Ugwumba (ORCID: https://orcid.org/0009-0000-2493-9846)
- Clement Barisua Ndeekor
- Okoro Nnaemeka Michael
Institutions
- University of Port Harcourt (NG)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-24
- DOI
- https://doi.org/10.21203/rs.3.rs-11823993/v1
- Primary Topic
- Library Services and Librarianship
- Type
- preprint