{"id":23388282,"url":"https://github.com/stackmodel/ocr-gemini","last_synced_at":"2025-04-08T13:26:46.464Z","repository":{"id":268625096,"uuid":"904457429","full_name":"stackmodel/ocr-gemini","owner":"stackmodel","description":"OCR app using Google Gemini Flash","archived":false,"fork":false,"pushed_at":"2024-12-17T22:48:37.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T09:40:30.749Z","etag":null,"topics":["gemini","llm","ocr-recognition","python","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackmodel.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}},"created_at":"2024-12-16T23:37:54.000Z","updated_at":"2024-12-17T22:48:41.000Z","dependencies_parsed_at":"2024-12-17T23:37:28.106Z","dependency_job_id":null,"html_url":"https://github.com/stackmodel/ocr-gemini","commit_stats":null,"previous_names":["stackmodel/ocr-gemini"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackmodel%2Focr-gemini","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackmodel%2Focr-gemini/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackmodel%2Focr-gemini/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackmodel%2Focr-gemini/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackmodel","download_url":"https://codeload.github.com/stackmodel/ocr-gemini/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247848010,"owners_count":21006170,"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","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":["gemini","llm","ocr-recognition","python","streamlit"],"created_at":"2024-12-22T02:18:31.149Z","updated_at":"2025-04-08T13:26:46.440Z","avatar_url":"https://github.com/stackmodel.png","language":"Python","readme":"**OCR App Using Gemini Flash**\n\nThis is a Streamlit-based web application that allows users to upload an image and extract readable text from it leveraging Google Gemini Flash model.\n\n**Features**\n\n-  📸 Upload an image in JPG, JPEG, or PNG format.\n-  🤖 Extract text from the uploaded image using the Google Gemini Flash model.\n-  📝 Display the extracted text in a well-organized Markdown format.\n-  🖥️ Simple and intuitive interface using Streamlit.\n\n\n**Setup Instructions**\n\n1. Clone the repository\n```\ngit clone https://github.com/stackmodel/ocr-gemini.git\ncd ocr-gemini\n```\n2. install Dependencies:\n\n    - Make sure you have Python 3.7 or higher installed. Then, create a virtual environment and install the dependencies:\n      \n      ```\n      python -m venv env\n      source env/bin/activate  # For Linux/macOS\n      .\\env\\Scripts\\activate   # For Windows\n      pip install -r requirements.txt\n      ```\n3. Rename .env.example to .env file and populate the google gemini api key.\n   You can obtain your API key from [Google AI Studio](https://aistudio.google.com/app/apikey).\n\n4. Run the app using the following command: ```streamlit run app.py```\n   This will launch the app in your browser.\n   \n![ocr_1](https://github.com/user-attachments/assets/644af73d-7a03-43e5-a411-bb31603b6311)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackmodel%2Focr-gemini","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackmodel%2Focr-gemini","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackmodel%2Focr-gemini/lists"}