{"id":15722913,"url":"https://github.com/robmarkcole/aws-text-extraction-app","last_synced_at":"2025-06-24T07:05:56.465Z","repository":{"id":54646378,"uuid":"335510484","full_name":"robmarkcole/aws-text-extraction-app","owner":"robmarkcole","description":"Streamlit app to extract text from an image using AWS services","archived":false,"fork":false,"pushed_at":"2021-02-07T09:13:44.000Z","size":1511,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T00:07:45.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/robmarkcole.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}},"created_at":"2021-02-03T04:49:35.000Z","updated_at":"2021-02-06T05:27:41.000Z","dependencies_parsed_at":"2022-08-13T22:40:35.056Z","dependency_job_id":null,"html_url":"https://github.com/robmarkcole/aws-text-extraction-app","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Faws-text-extraction-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Faws-text-extraction-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Faws-text-extraction-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Faws-text-extraction-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robmarkcole","download_url":"https://codeload.github.com/robmarkcole/aws-text-extraction-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246395590,"owners_count":20770243,"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":[],"created_at":"2024-10-03T22:09:41.045Z","updated_at":"2025-03-31T00:15:50.203Z","avatar_url":"https://github.com/robmarkcole.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-text-extraction-app\nStreamlit app to extract text from an image using AWS rekognition [text extraction service](https://docs.aws.amazon.com/rekognition/latest/dg/text-detecting-text-procedure.html). The text can be downloaded as json. TODO: Regions of interest can be applied to the image.\n\n**Note** this app requires your [AWS credentials](https://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html) which are passed into the app using [environment variables](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html#using-environment-variables).\n\nAll environment variables that can be passed are listed below:\n```\n- AWS_ACCESS_KEY_ID : (required) your key ID, \n- AWS_SECRET_ACCESS_KEY : (required) your key secret\n- AWS_DEFAULT_REGION : (optional) your preferred AWS region, default `us-east-1`\n```\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/robmarkcole/aws-text-extraction-app/blob/main/docs/usage.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n## Build Dockerfile and run\nBuild and run locally, picking up the required environment variables from your system environment:\n```\ndocker build -t aws-text-extraction-app .\ndocker run -p 8501:8501 -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY aws-text-extraction-app:latest\n```\nAlternatively pull the latest release from dockerhub with:\n```\ndocker pull robmarkcole/aws-text-extraction-app:latest\n```\n\n## Development\n* Create a venv: `python3 -m venv venv` \n* Activate venv: `source venv/bin/activate`\n* Install requirements: `pip3 install -r requirements.txt`\n* Export required environment variables: `export AWS_ACCESS_KEY_ID=yours` and `export AWS_SECRET_ACCESS_KEY=yours`\n* Run from the `app` folder: `streamlit run app.py`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Faws-text-extraction-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobmarkcole%2Faws-text-extraction-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Faws-text-extraction-app/lists"}