{"id":25675596,"url":"https://github.com/haripasapuleti/text-extractor","last_synced_at":"2025-10-08T11:25:12.460Z","repository":{"id":278510573,"uuid":"935857158","full_name":"HariPasapuleti/Text-Extractor","owner":"HariPasapuleti","description":"A Flask-based web app that uses OCR technology to extract text from uploaded images. Users can upload images, preview them, and download the extracted text as a file.","archived":false,"fork":false,"pushed_at":"2025-04-10T12:35:09.000Z","size":440,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T13:54:28.417Z","etag":null,"topics":["file-upload","flask","image-preprocessing","ocr-text-reader","python"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HariPasapuleti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-20T06:07:53.000Z","updated_at":"2025-04-10T12:35:12.000Z","dependencies_parsed_at":"2025-02-20T07:24:30.148Z","dependency_job_id":"936d83a1-128b-4d0c-a0d9-58c15458bdad","html_url":"https://github.com/HariPasapuleti/Text-Extractor","commit_stats":null,"previous_names":["haripasapuleti/text-extractor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HariPasapuleti/Text-Extractor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HariPasapuleti%2FText-Extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HariPasapuleti%2FText-Extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HariPasapuleti%2FText-Extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HariPasapuleti%2FText-Extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HariPasapuleti","download_url":"https://codeload.github.com/HariPasapuleti/Text-Extractor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HariPasapuleti%2FText-Extractor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270899582,"owners_count":24664720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file-upload","flask","image-preprocessing","ocr-text-reader","python"],"created_at":"2025-02-24T13:17:36.737Z","updated_at":"2025-10-08T11:25:07.388Z","avatar_url":"https://github.com/HariPasapuleti.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🖼️ Image Text Extractor\n\nA Flask-powered web application that extracts text from images using **Tesseract OCR**. The app supports image preprocessing for improved accuracy, an intuitive interface, and the ability to download extracted text.\n \n## 🌟 Features\n\n- **OCR-Based Text Extraction**: Leverages Tesseract OCR for reliable text recognition.\n- **Preprocessing for Accuracy**: Automatically preprocesses images (grayscale and thresholding).\n- **Image Preview**: See your uploaded image before processing.\n- **Text Export**: Download extracted text as a `.txt` file with a single click.\n- **Responsive UI**: A mobile-friendly, modern interface.\n\n---\n\n## 🚀 Live Demo\n\nYou can view a live demo of the app [here](https://your-demo-link.com)  \n\n---\n\n## 🛠️ Tech Stack\n\n- **Backend**: Flask, Python\n- **Frontend**: HTML, CSS, JavaScript\n- **Image Processing**: OpenCV, Pillow (PIL)\n- **OCR**: Tesseract OCR\n\n---\n\n## 🧑‍💻 Installation Guide\n\n### Prerequisites\n1. **Python 3.7+**\n2. **Tesseract OCR**:\n   - Windows: [Download Tesseract](https://github.com/tesseract-ocr/tesseract).\n   - Linux/Mac:\n     ```bash\n     sudo apt install tesseract-ocr\n     ```\n \n### Steps to Run Locally\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/HariPasapuleti/Text-Extractor.git\n   cd Text-Extractor\n   ```\n\n2. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. Configure Tesseract path:\n   - Windows:\n     ```python\n     pytesseract.pytesseract.tesseract_cmd = r\"C:\\Program Files\\Tesseract-OCR\\tesseract.exe\"\n     ```\n   - Linux/Mac: No changes needed (default path).\n\n4. Start the Flask server:\n   ```bash\n   python text_extractor.py\n   ```\n\u003c!--\n5. Open the app in your browser:\n   ```\n   http://localhost:5000\n   ```\n--\u003e\n\n---\n## 🖥️ Usage\n\n1. **Upload an Image**: Accepts `.jpg` or `.png` formats.\n2. **Preview**: Check the image preview before processing.\n3. **Extract Text**: View extracted text directly on the page.\n4. **Download**: Save the extracted text as a `.txt` file.\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharipasapuleti%2Ftext-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharipasapuleti%2Ftext-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharipasapuleti%2Ftext-extractor/lists"}