Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.14.0
metadata
title: Book Cover Analyzer
emoji: π
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.0.2
app_file: app.py
pinned: false
license: mit
π Book Cover Analyzer
An AI-powered book cover analysis tool that automatically detects:
- π Book Title - Inferred from detected text
- βοΈ Author(s) - Extracted using heuristics
- π’ Publisher - Identified from text positioning
- πΌοΈ Visual Elements - Classified using ResNet18 (ImageNet)
- π All Text - Extracted using EasyOCR
Technologies
- Computer Vision: OpenCV
- Deep Learning: PyTorch ResNet18
- OCR: EasyOCR
- Interface: Gradio
How It Works
- Text Detection: EasyOCR extracts all text regions
- Text Interpretation: Heuristics infer title/author/publisher based on position and formatting
- Image Classification: ResNet18 classifies visual elements (book jacket, person, etc.)
- Smart Analysis: Combines OCR + computer vision for comprehensive results
Deploy Your Own
This app can run on:
- Hugging Face Spaces (Free - 16GB RAM)
- Local machine with Python 3.9+
Built with β€οΈ using OpenCV and PyTorch.