--- title: DocuMind emoji: 🧠 colorFrom: blue colorTo: purple sdk: gradio app_file: app.py pinned: true license: mit sdk_version: 6.18.0 tags: - track:backyard - achievement:offgrid --- # 🧠 DocuMind - Smart Document Analyzer > AI-powered document analysis and OCR tool | AIι©±εŠ¨ηš„ζ–‡ζ‘£εˆ†ζžδΈŽOCRε·₯ε…· ## ✨ Features | εŠŸθƒ½η‰Ήζ€§ | Feature | Description | ζŠ€ζœ― | |---------|-------------|------| | πŸ“„ Document Analysis | Parse PDF, Word, TXT files | PyPDF2, python-docx | | πŸ€– AI Summary | Generate intelligent summaries | GPT-2 (1.5B) | | ✍️ AI Rewrite | Rewrite with custom prompts | GPT-2 (1.5B) | | πŸ’¬ Document Q&A | Answer questions about document | GPT-2 + TF-IDF | | πŸ–ΌοΈ Image Description | AI image captioning | BLIP (0.4B) | | πŸ” OCR Recognition | Extract text from images | EasyOCR | | 🌐 Bilingual | Chinese & English support | - | ## 🎬 Demo Video | 演瀺视钑 - YouTube: https://youtu.be/1iR65sq0HmA ## πŸ“± Social Media | η€ΎδΊ€εͺ’体 - Twitter (Video): https://x.com/bingeaigc/status/2064999685476257999 - Twitter (Project): https://x.com/bingeaigc/status/2064999682582196665 ## πŸ”— Links | ι“ΎζŽ₯ - **Live Demo**: https://huggingface.co/spaces/build-small-hackathon/documind - **GitHub**: https://github.com/Binge-666/documind ## πŸš€ Quick Start | εΏ«ι€ŸεΌ€ε§‹ ```bash pip install -r requirements.txt python app.py Open http://localhost:7860 | 打开 http://localhost:7860 πŸ“‹ Requirements | 要求 - βœ… AI Model ≀ 32B params (GPT-2: 1.5B + BLIP: 0.4B) - βœ… Hugging Face ecosystem - βœ… Deployed on HF Spaces πŸ› οΈ Tech Stack | ζŠ€ζœ―ζ ˆ - UI: Gradio - NLP: GPT-2 (Hugging Face Transformers) - Q&A: TF-IDF + Cosine Similarity (scikit-learn) - Image AI: BLIP (Hugging Face Transformers) - OCR: EasyOCR - Document: PyPDF2, python-docx πŸ“„ License MIT