Forgot the due date for books you took from the library? LibSnap remembers so you don't end up paying fines!
The main purpose of LibSnap is to solve the common problem of students forgetting to return books on time and incurring late fees.
It creates a digital record of borrowed books and proactively reminds students when books need to be returned, helping both students save money and libraries maintain their collections.
Cherry on the top, this entire setup works without using any PAID tools..
LibSnap.-.Live.Demo.mp4
- The system first scans barcode in
i. Student IDs
ii. ISBN barcode in the borrowed book
In each step, a sound alert is given to signal the user that correct data has been captured.
Fetches book details from Google Books/Open Library API using the ISBN number present in ISBN barcode, which lies at bottom-corner in the backcover of every published book! Thus associating the borrowed book’s title & author with the user's roll number.
- In cases where book ISBN barcodes are damaged (or) back covers are damaged, hold the book cover in front of the camera, the custom trained YOLOv11n model (on books covers) detects the book, gets the image, then LibSnap uses Gemini API to recognize book covers and extract title and author information, to associate with the user.
-
All borrowing records are stored in a PostgreSQL database, automatically setting due dates 15 days from checkout and tracking all lending activity, and sends timely reminders to the registered email ID.
-
Students can access a web portal to view all their borrowed books and due dates in one place. If it's a new user, he/she has to sign up first! And it's a one time process, as successive borrowed books get associated in that account.
ISBN barcode → Query Google Books/Open Library API → Get book metadata
Cover image → YOLO model book detection → Gemini API → Extract title/author
➡️ Scenario: New Student Registration
- New student visits the library, takes the book and during his exit
- A QR code is placed near this setup, which contains a link to our web portal to register.
- Students provide roll number, email, password.
- Account is created for future book checkouts
- Scans the book, student ID and rest of the workflow is discussed above..
- Hardware:
- Computer with webcam
- Barcode/QR code scanner (optional, can use webcam)
- Software Dependencies:
- PostgreSQL database
- Python libraries: OpenCV, pyzbar, pyttsx3, psycopg2, Flask, YOLO v11 Nano
- Google Gemini API (for OCR)
- Gmail account credentials (for sending emails)
LibSnap.-.Edit.mp4
ID & Book Detection - Uncut Version :