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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

AI Powered Smart Library Management System Using Computer Vision: Barcode Recognition, Facial Authentication, Voice Search and Hybrid Book Recommendation in a Browser Based Platform

Nnaemeka Kingsley Ugwumba, Clement Barisua Ndeekor, Okoro Nnaemeka Michael
2 links
Research Square
Library Services and Librarianship
preprint

AI Powered Smart Library Management System Using Computer Vision: Barcode Recognition, Facial Authentication, Voice Search and Hybrid Book Recommendation in a Browser Based Platform

Nnaemeka Kingsley Ugwumba, Clement Barisua Ndeekor, Okoro Nnaemeka Michael
preprint en

Abstract

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.

Research Square
University of Port Harcourt (NG)
Library Services and Librarianship
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon