{"id":14989184,"url":"https://github.com/minnukota381/flask-ocr-app","last_synced_at":"2025-08-04T02:13:07.076Z","repository":{"id":245046673,"uuid":"817098238","full_name":"minnukota381/flask-ocr-app","owner":"minnukota381","description":"A web application that allows users to upload an image and convert it to text using Optical Character Recognition (OCR) technology. This application supports user authentication and provides a user-friendly interface for image uploads and text extraction.","archived":false,"fork":false,"pushed_at":"2024-12-27T07:19:28.000Z","size":54,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T06:01:37.893Z","etag":null,"topics":["css3","easyocr","flask","gunicorn","html5","javascript","jinja2","ninja","numpy","ocr-python","pillow-library","scipy","sqlite3","torch","torchvision","werkzeug"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/minnukota381.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-06-19T02:46:31.000Z","updated_at":"2024-12-27T07:19:32.000Z","dependencies_parsed_at":"2024-09-11T09:18:59.503Z","dependency_job_id":"6ca9ff58-dd77-407b-816b-1e79cac8f3b5","html_url":"https://github.com/minnukota381/flask-ocr-app","commit_stats":{"total_commits":58,"total_committers":2,"mean_commits":29.0,"dds":0.08620689655172409,"last_synced_commit":"9e43fc757f9ffc07eaba8fd565cf86190f5c68ff"},"previous_names":["minnukota381/flask-ocr-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/minnukota381/flask-ocr-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minnukota381%2Fflask-ocr-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minnukota381%2Fflask-ocr-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minnukota381%2Fflask-ocr-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minnukota381%2Fflask-ocr-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minnukota381","download_url":"https://codeload.github.com/minnukota381/flask-ocr-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minnukota381%2Fflask-ocr-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267058719,"owners_count":24029068,"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-07-25T02:00:09.625Z","response_time":70,"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":["css3","easyocr","flask","gunicorn","html5","javascript","jinja2","ninja","numpy","ocr-python","pillow-library","scipy","sqlite3","torch","torchvision","werkzeug"],"created_at":"2024-09-24T14:17:49.284Z","updated_at":"2025-08-04T02:13:07.050Z","avatar_url":"https://github.com/minnukota381.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask OCR App [Image to Text Converter]\n\nA web application that allows users to upload an image and convert it to text using Optical Character Recognition (OCR) technology. This application supports user authentication and provides a user-friendly interface for image uploads and text extraction.\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Project Structure](#project-structure)\n- [Technologies Used](#technologies-used)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features\n\n- User authentication (Registration, Login, Logout)\n- Upload image and convert it to text\n- Display extracted text\n- Responsive design for mobile and desktop screens\n\n## Installation\n\n### Prerequisites\n\n- Python 3.x\n- Flask\n- SQLite\n- EasyOCR\n- Pillow\n- Werkzeug\n\n### Step-by-Step Guide\n\n1. **Clone the repository**:\n\n   ```sh\n   git clone https://github.com/minnukota381/flask-ocr-app.git\n   cd flask-ocr-app\n   ```\n\n2. **Create a virtual environment**:\n\n   ```sh\n   python -m venv venv\n   venv\\Scripts\\activate\n   ```\n\n3. **Install the required dependencies**:\n\n   ```sh\n   pip install -r requirements.txt\n   ```\n\n4. **Set up environment variables**:\n\n   Create a `.env` file in the project root and add your secret key:\n\n   ```bash\n   SECRET_KEY=your_secret_key_here\n   ```\n\n5. **Set up the SQLite database**:\n\n   ```sh\n   python -c \"from app import create_connection; create_connection()\"\n   ```\n\n6. **Run the Flask application**:\n\n   ```sh\n   flask run\n   ```\n\n7. **Open the app in your browser**:\n   Navigate to `http://127.0.0.1:5000` in your web browser.\n\n## Usage\n\n1. **Register or Login**:\n   - If you are a new user, register an account.\n   - If you already have an account, log in.\n\n2. **Upload an Image**:\n   - Click the \"Choose File\" button to select an image from your device.\n   - Click \"Convert\" to upload the image and extract text.\n\n3. **View Extracted Text**:\n   - The extracted text from the uploaded image will be displayed in the text area.\n\n## Project Structure\n\n```bash\nflask-ocr-app/\n│\n├── app.py                 # Main application file\n├── requirements.txt       # Python dependencies\n├── Procfile               # For deployment (Heroku)\n├── templates/\n│   ├── index.html         # Main HTML file\n│   ├── login.html         # Login HTML file\n│   └── register.html      # Register HTML file\n├── static/\n│   ├── stylesheets/\n│   │   └── login.css     # CSS for login page\n│   │   └── register.css  # CSS for register page\n│   │   └── index.css     # CSS for main page\n│   └── images/\n│   └── scripts/\n│       └── index.js       # JavaScript for client-side interactions\n└── .env                   # Environment variables\n└── README.md              # This README file\n```\n\n## Technologies Used\n\n- **Backend**: Flask\n- **Frontend**: HTML, CSS, JavaScript\n- **OCR Engine**: EasyOCR\n- **Image Processing**: Pillow\n- **Database**: SQLite\n- **Authentication**: Werkzeug\n- **Deployment**: Heroku\n\n## Contributing\n\nContributions are welcome! Please follow these steps:\n\n1. Fork the repository\n2. Create a new branch (`git checkout -b feature-branch`)\n3. Make your changes and commit them (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin feature-branch`)\n5. Create a new Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminnukota381%2Fflask-ocr-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminnukota381%2Fflask-ocr-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminnukota381%2Fflask-ocr-app/lists"}