{"id":18648476,"url":"https://github.com/minhaskamal/highlightedtextdetector","last_synced_at":"2025-04-11T14:31:04.762Z","repository":{"id":71449360,"uuid":"350082027","full_name":"MinhasKamal/HighlightedTextDetector","owner":"MinhasKamal","description":"Extracts highlighted text from the image of a page","archived":false,"fork":false,"pushed_at":"2022-09-04T00:15:43.000Z","size":5446,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-25T14:38:59.547Z","etag":null,"topics":["google-vision","image-processing","ocr","opencv","python","text-detection"],"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/MinhasKamal.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":"2021-03-21T18:17:55.000Z","updated_at":"2025-03-03T06:50:53.000Z","dependencies_parsed_at":"2023-02-23T11:30:18.492Z","dependency_job_id":null,"html_url":"https://github.com/MinhasKamal/HighlightedTextDetector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinhasKamal%2FHighlightedTextDetector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinhasKamal%2FHighlightedTextDetector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinhasKamal%2FHighlightedTextDetector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MinhasKamal%2FHighlightedTextDetector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MinhasKamal","download_url":"https://codeload.github.com/MinhasKamal/HighlightedTextDetector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248419650,"owners_count":21100214,"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":["google-vision","image-processing","ocr","opencv","python","text-detection"],"created_at":"2024-11-07T06:31:15.007Z","updated_at":"2025-04-11T14:31:04.756Z","avatar_url":"https://github.com/MinhasKamal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HighlightedTextDetector\n### Extracts highlighted text from the image of a page\n\nProcess an image of a page taken by a handheld device to detect the highlighted portion of the text, and then running OCR for extracting the highlighted text.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/MinhasKamal/HighlightedTextDetector/main/highlighted-bengali-sample.jpg\" alt=\"Bengali Sample Image\" width=auto height=\"300px\"/\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/MinhasKamal/HighlightedTextDetector/main/highlighted-english-sample.jpg\" alt=\"English Sample Image\" width=auto height=\"300px\"/\u003e\n\u003c/div\u003e\n\n## Running The Project\n\n1. Clone the project from GitHub and import (File \u003e Open) it into PyCharm.\n\n2. Now install (File \u003e Settings \u003e Project \u003e Python Interpreter \u003e [+] button) following modules into the project: opencv-python, google-cloud-vision, numpy, and Pillow. You may also use commands:\n```\npip install opencv-python \npip install google-cloud-vision\npip install numpy\npip install Pillow\n```\n\n3. Setup Google Vision Server:\n \n    a. Create Project: Login into your Google account \u003e Open the [Google-Cloud](https://console.cloud.google.com/projectselector2/home/dashboard) page \u003e Create a project with name- 'HighlightedTextDetector' (you may give any name).\n \n    b. Enable Vision API for The Project \u0026 Download Credentials: Go to [Vision-Api](https://console.cloud.google.com/flows/enableapi?apiid=vision.googleapis.com) page \u003e Select your project 'HighlightedTextDetector' \u003e Continue \u003e Are you planning to use this API with App Engine: No \u003e What Credentials do I need? \u003e Service account name: HighlightedTextDetector \u003e Role: Owner \u003e Key type: JSON \u003e Continue \u003e Save (Now, place this JSON file somewhere safe; we will need it for authentication)\n\n    c.  Billing Account (Free): Open [Billing Page](https://console.cloud.google.com/billing) \u003e Add Billing Account \u003e Enter billing account details \u003e Continue \u003e Enter credit-card info \u003e Submit and Enable Billing\n\nFor details, visit [the official guide](https://cloud.google.com/vision/docs/quickstart#set_up_a_google_cloud_vision_api_project).\n\n4. Open main.py \u003e update the variable `GOOGLE_VISION_API_KEY_PATH` with your API Key (downloaded JSON) file path \u003e then run processStepByStep.py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminhaskamal%2Fhighlightedtextdetector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminhaskamal%2Fhighlightedtextdetector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminhaskamal%2Fhighlightedtextdetector/lists"}