{"id":21599349,"url":"https://github.com/t04glovern/aws-textract-adoption-forms","last_synced_at":"2025-06-24T15:05:47.308Z","repository":{"id":37731513,"uuid":"174849430","full_name":"t04glovern/aws-textract-adoption-forms","owner":"t04glovern","description":"Using Serverless to consume and processing WA Animals adoption forms using Amazon Textract and placing that data in DynamoDB","archived":false,"fork":false,"pushed_at":"2023-04-30T15:20:40.000Z","size":597,"stargazers_count":7,"open_issues_count":5,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-24T15:04:04.713Z","etag":null,"topics":["aws","aws-textract","charity","lambda","ocr-recognition","serverless","serverless-framework","textract"],"latest_commit_sha":null,"homepage":"https://devopstar.com/2019/06/01/processing-animal-adoption-papers-with-amazon-textract/","language":"Python","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/t04glovern.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,"zenodo":null}},"created_at":"2019-03-10T16:24:56.000Z","updated_at":"2024-05-11T07:17:49.000Z","dependencies_parsed_at":"2025-04-11T01:05:18.055Z","dependency_job_id":"c046ffdc-1a20-47a9-9473-a8526f448333","html_url":"https://github.com/t04glovern/aws-textract-adoption-forms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/t04glovern/aws-textract-adoption-forms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t04glovern%2Faws-textract-adoption-forms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t04glovern%2Faws-textract-adoption-forms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t04glovern%2Faws-textract-adoption-forms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t04glovern%2Faws-textract-adoption-forms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t04glovern","download_url":"https://codeload.github.com/t04glovern/aws-textract-adoption-forms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t04glovern%2Faws-textract-adoption-forms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261700469,"owners_count":23196501,"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":["aws","aws-textract","charity","lambda","ocr-recognition","serverless","serverless-framework","textract"],"created_at":"2024-11-24T18:15:02.631Z","updated_at":"2025-06-24T15:05:47.246Z","avatar_url":"https://github.com/t04glovern.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Textract Adoption Form - WA Animals\n\nConsuming and processing WA Animals adoption forms using AWS Textract and placing that data in DynamoDB\n\n![Architecture](img/architecture.png)\n\n## Serverless Setup\n\n```bash\n## Project Setup\nmkdir form-process\ncd form-process\n\nnpm install -g serverless\nserverless create --template aws-python3 --name form-process\n```\n\n### Requirements [Workaround]\n\nCurrently the boto3 client deployed to Lambda doesn't include textract. We'll need to force an update on the client using python requirements\n\n```bash\nserverless plugin install -n serverless-python-requirements\nnpm install\n```\n\nCreate a `requirements.txt` file and add the following to it\n\n```bash\nboto3\u003e=1.9.111\n```\n\nAlso in the next section take careful note of the lines below\n\n```bash\npythonRequirements:\n  dockerizePip: non-linux\n  noDeploy: []\n```\n\n`noDeploy` tells the `serverless-python-requirements` plugin to include boto3 and not omit it. More information can be found [HERE](https://github.com/UnitedIncome/serverless-python-requirements#omitting-packages)\n\n## Running\n\n```bash\n# Install dependencies\ncd form-process\nnpm install\n\n# Install serverless (if you haven't already)\nnpm install -g serverless\n\n# Deploy\nserverless deploy\n```\n\n## Testing (Textract)\n\nTo test just the Textract portion of the app, run the following to copy it to your S3 bucket.\n\n```bash\naws s3 cp ../docs/adoption-agreement.png s3://waanimalsadoptionforms\n```\n\n## Attribution\n\n* [AWS CloudFormation Resource Reference](https://serverless.com/framework/docs/providers/aws/guide/resources/#aws-cloudformation-resource-reference)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft04glovern%2Faws-textract-adoption-forms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft04glovern%2Faws-textract-adoption-forms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft04glovern%2Faws-textract-adoption-forms/lists"}