How ain0633/libar works
LibAR is an on-device shelf-reading and book-finding application: a phone camera scan is processed into recognized call numbers, matched against a library catalog, and shown as shelf overlays. Patrons can also search for, locate, and discover recommended or popular books; librarians receive misplaced-book indications and can create inspection reports. The README documents the browser application and its major capabilities, but its app shell and catalog assets are absent from the supplied tree. Python pipeline nodes represent substantial research/runtime implementations; connections between those variants are shown only where excerpts or the source index support them.
Main entry points: webdemo Browser app · libar_ondevice.py On-device logic · daelim_pipeline.py Daelim pipeline · libar_rec.js Catalog matching
Components 21
On-device experience
- Browser app
libar-sample/webdemo - AR overlays
libar-sample/webdemo - Inspection report
libar-sample/webdemo
Shelf recognition
- YOLO detection
libar-sample/daelim_yolo_pipeline.py - Call-number OCR
libar-sample/daelim_closeup.py - Catalog matching
libar-sample/webdemo/libar_rec.js - LIS ordering
libar-sample/webdemo/libar_rec.js
Catalog and discovery
- Static catalog
libar-sample - Book search
libar-sample/webdemo - Recommendations
libar-sample - Popular books
libar-sample
Python pipeline implementations
- Color label detector
libar-sample/daelim_detect.py - Photo pipeline
libar-sample/pipeline.py - Daelim pipeline
libar-sample/daelim_pipeline.py - On-device logic
libar-sample/libar_ondevice.py - Integrated tester
libar-sample/libar_tester.py - Global decoding
libar-sample/libar_global.py - Column assignment
libar-sample/ocr_column_assign.py
Other components
- Phone camera
- Librarian
- Library patron
Connections 23
- Phone camera → Browser app: provides frames
README.md - Browser app → YOLO detection: scans image
README.md - YOLO detection → Call-number OCR: crops labels
README.md - Call-number OCR → Catalog matching: reads call numbers
README.md - Static catalog → Catalog matching: supplies records
README.md - Catalog matching → LIS ordering: checks shelf order
README.md - LIS ordering → AR overlays: marks shelf
README.md - Browser app → AR overlays: renders results
README.md - Library patron → Book search: searches books
README.md - Library patron → Recommendations: browses
README.md - Library patron → Popular books: browses
README.md - Book search → AR overlays: pins found book
README.md - Recommendations → AR overlays: pins selection
README.md - Popular books → AR overlays: pins selection
README.md - Librarian → Browser app: starts inspection
README.md - Browser app → Inspection report: creates report
README.md - Inspection report → Librarian: shows findings
README.md - Color label detector → Daelim pipeline: detects labels
libar-sample/daelim_pipeline.py - Daelim pipeline → On-device logic: uses LIS logic
libar-sample/daelim_pipeline.py - Integrated tester → Photo pipeline: uses pipeline
libar-sample/libar_tester.py - Global decoding → On-device logic: uses matching logic
libar-sample/libar_global.py - Column assignment → On-device logic: uses catalog logic
libar-sample/ocr_column_assign.py - Daelim pipeline → On-device logic: imports logic
libar-sample/daelim_pipeline.py