Spaces:
Sleeping
Sleeping
| 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 | |
| 1. **Text Detection**: EasyOCR extracts all text regions | |
| 2. **Text Interpretation**: Heuristics infer title/author/publisher based on position and formatting | |
| 3. **Image Classification**: ResNet18 classifies visual elements (book jacket, person, etc.) | |
| 4. **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. | |