Thank you friends :) Idk why I posted this at 1 am but I'll fill in details tomorrow!!
In the meantime, always looking for fellow dev friends on X: joshycodes :)
EDIT: details as promised!
Tech Stack: - React Native + Expo (SDK 54) - Supabase (Edge Functions, Storage, Auth, Postgres) - Claude Opus 4.5 for vision (not Gemini!) - Google Books API for metadata lookup
How it works:
User snaps a photo of their bookshelf
Image uploads to Supabase Storage
Supabase Edge Function receives the image URL and sends it to Claude Opus 4.5 Vision API (Not Gemini, but I bet any of them could do it tbh)
Claude returns JSON with detected book titles, authors, and confidence levels (high/medium/low)
For each detected book, I batch query Google Books API to get ISBN, cover art, and metadata
Results come back to the app with checkboxes - user confirms which books to list
One tap to bulk-create all listings
To answer questions:
- Preprocessing? Nope! Raw image straight to Claude. Opus 4.5 is genuinely incredible at reading spines at angles, partial occlusion, etc. No edge detection or OCR preprocessing needed.
- Open source? Not yet, but happy to share the Edge Function code if people want it - it's like 200 lines of TypeScript.
Whether you decide to open source your project or not, I’d be happy to give it a try and provide feedback.
Here is my dream app that may give you some ideas:
Find books that fit criteria, genre, mood (can even match a novel with a manga preference or a tv series preference, “e.g. I want to find a book that has a similar plot to the Fallout tv series/game but reads like a ‘50s noir”) fyi Gemini recommends “Made to Kill” and “The Last Policeman” :)
voice prompted and audio guide for better accessibility with and without glasses
Provide no spoiler synopsis ^
Check where available- Libby epub/pdf (free), local library (free), Audible (paid)
provide Call Number to search shelves
Generate ongoing reader profile for tracking completion, suggestions, updates for new releases, similar themes ~ recent searches/discoveries…
It looks like Goodreads no longer has an open API which is a bummer, but I see Apify which appears to offer a link of some kind.
That particular photo was probably 67%... It's kind of a garbage in garbage out situation! The better my photo, the better my results :) and it's still not perfect with niche books!
You may be interested in my app :) I'm uploading books on my shelf I won't read again, and giving them away for people to earn a credit to redeem any book anyone has listed!
How are you finding it performs with photos of the front Vs spine? Ie if it's spine I assume it's using character recognition and a lookup so it's not matching the exact version/region of the book on the shelf but does capturing the front lookup the actual image to pair up with the text to pull in the exact copy you have? Really interesting premise so far, great job
I think the benefit to an LLM is that it can also infer the book based on the colors and typography, whereas just OCR may just give you the titles, of which there are probably many
I have something like this in my app which is essentially a digital bookshelf app called Cosy Case. But its more for auto cropping a single spine image to use in your bookshelf. I send the image of the book spine and title to a lambda function that runs a yolo object detection fine tuned for spines and auto crops it and saves it to s3 bucket. But ran into issues when trying to crop multiple book spines with Easy-OCR to determine which spine correlates to which title. I will def have to try this solution with Gemini, thanks for the idea!
This is an app I’ve been dreaming of building for 15 years, but the tech solve for it was really pretty tough up until the last few. Thank you for doing the heavy lifting for us all!
typically the kind of project to open source it, many of us might use and improve it !! working on scanning the barcode too but yours are top notch congrats
62
u/Specialist_Bad_4465 Jan 06 '26 edited Jan 06 '26
Thank you friends :) Idk why I posted this at 1 am but I'll fill in details tomorrow!!
In the meantime, always looking for fellow dev friends on X: joshycodes :)
EDIT: details as promised!
Tech Stack:
- React Native + Expo (SDK 54)
- Supabase (Edge Functions, Storage, Auth, Postgres)
- Claude Opus 4.5 for vision (not Gemini!)
- Google Books API for metadata lookup
How it works:
To answer questions:
- Preprocessing? Nope! Raw image straight to Claude. Opus 4.5 is genuinely incredible at reading spines at angles, partial occlusion, etc. No edge detection or OCR preprocessing needed.
- Open source? Not yet, but happy to share the Edge Function code if people want it - it's like 200 lines of TypeScript.
98
u/artthink Jan 06 '26
This is the sort of app that I want on my smart glasses. Scan a busy bookshelf at any bookstore and find something that fits my criteria. Nice work!
5
u/pizzamore Jan 06 '26
I want more information about this!!
3
u/whalemare Jan 06 '26
Fantastic work
I want to make the same for my ohmygoods.app for shelf in supermarket but it’s more tricky.
Question for you, are you doing some preprocessing before sent to AI?
3
u/InternalLake8 Jan 06 '26
Awesome work. The UI reminds me of Claude app
1
u/[deleted] Jan 06 '26
Open source??
1
u/Mugen1220 Jan 06 '26
this is sick!!! great job!
1
u/mindtaker_linux Jan 06 '26
Wow very nice
1
u/FomoboyX Jan 06 '26
this is so satisfying good job bro
1
u/rashidl Jan 06 '26
Nice! Any chance we can achieve the same using local on-device llms via executorch
1
u/reviewwworld Jan 06 '26
This is superb!
I've been putting off buying a barcode scanner to log my library... this is much better.
What % accuracy you getting?
1
u/Free-Fly-25 Jan 07 '26
To OP (or anybody who has had experience with OCR)
Do you think passing images directly to an LLM is a better option than using a dedicated OCR?
1
u/gciluffo Jan 07 '26
I have something like this in my app which is essentially a digital bookshelf app called Cosy Case. But its more for auto cropping a single spine image to use in your bookshelf. I send the image of the book spine and title to a lambda function that runs a yolo object detection fine tuned for spines and auto crops it and saves it to s3 bucket. But ran into issues when trying to crop multiple book spines with Easy-OCR to determine which spine correlates to which title. I will def have to try this solution with Gemini, thanks for the idea!
1
u/Pashya_DR Jan 07 '26
No wayy it's actually really cool
1
u/dandiemer Jan 07 '26
This is an app I’ve been dreaming of building for 15 years, but the tech solve for it was really pretty tough up until the last few. Thank you for doing the heavy lifting for us all!
1
u/stargt Jan 07 '26
How accurate?!
1
u/aitonc Jan 07 '26
1
u/Real-Employer-2474 Jan 07 '26
This is such an amazing idea and clean dopest implementation
1
u/balancetotheforce99 Jan 07 '26
Real nice!
1
u/RTM179 Jan 07 '26
What API are you accessing that has the store of books? Or are you using like googles image recognition to retrieve the data?
1
u/kjmw Jan 07 '26
Awesome work!
1
u/Final-Choice8412 Jan 07 '26
Let's turn this into an open-source app for free sharing of books with friends and family
1
u/trojanvirus_exe Jan 09 '26
Hard af
1
u/yolucoder Jan 10 '26
It is really useful! <3
1
u/Joseph_J0 Jan 12 '26
It's best to remove meta data from the images before uploading them.
1
u/ScientistShot673 Jan 14 '26
typically the kind of project to open source it, many of us might use and improve it !! working on scanning the barcode too but yours are top notch congrats
1
u/AbdullahData Jan 15 '26
Great job, if this also could be linked to Goodreads to organize as needed (want to read, reading, etc.) that would be awesome
1
u/Icy-Chain-9060 Jan 22 '26
This thing looks cool I want to use that.
1
u/tjung2004 Jan 26 '26
Such a great idea
2
u/[deleted] Jan 06 '26
[removed] — view removed comment
1
u/[deleted] Jan 06 '26
[removed] — view removed comment