{"repo":"suxrobGM/bookshelf-scanner","free":true,"listed":false,"github":"https://github.com/suxrobGM/bookshelf-scanner","clone":"git clone https://github.com/suxrobGM/bookshelf-scanner.git","description":"Bookshelf scanner is app uses OCR to detect and extract book titles from the images.","language":"Python","stars":20,"topics":["deep-learning","image-recognition","ocr","opencv","postgresql","python","angular"],"license":"MIT","category":"machine-learning","readme_excerpt":"Bookshelf Scanner App The Bookshelf Scanner App is an end-to-end solution for detecting books from an image of a bookshelf and identifying their titles and authors. It leverages cutting-edge computer vision (YOLO segmentation) and Large Language Models (Moondream2) to deliver a seamless user experience via a modern web interface. Overview This repository contains three main components: 1. AI (Python, Poetry): - Purpose: Performs book segmentation from the bookshelf image using a YOLO model. Each detected book spine is then cropped and, if necessary, rotated for correct orientation. - LLM Inference (Moondream2): After segmentation, the AI model uses a Moondream2 LLM to extract the book title and author from each cropped book image. The Moondream2 model is fine-tuned and quantized for fast inference time. 2. Backend (Python, FastAPI, Poetry): - Purpose: Provides an HTTP API ( POST /api/predict ) that accepts an uploaded image file and streams the prediction results. The first response chunk includes the segmented image in a suitable format (base64), followed by incremental streams of recognized book titles and authors. - Features: - Asynchronous API for efficient streaming of inference results. - FastAPI-based implementation for scalability and ease of deployment. 3. Frontend (Angular, Bun): - Purpose: Offers a simple UI where users can upload an image of a bookshelf. - Features: - Displays the segmented image returned by the backend. - Dynamically shows the recognized books’ t","default_branch":null,"files":null,"tree":[],"storefront":"/r/suxrobGM","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/suxrobGM/bookshelf-scanner/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}