{"id":20858914,"url":"https://github.com/secretshardul/tesseroid-functions","last_synced_at":"2026-06-04T19:31:09.687Z","repository":{"id":36011074,"uuid":"220788734","full_name":"secretshardul/tesseroid-functions","owner":"secretshardul","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-04T14:39:12.000Z","size":285,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-12T22:42:27.008Z","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/secretshardul.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":"2019-11-10T12:42:52.000Z","updated_at":"2019-11-13T11:53:50.000Z","dependencies_parsed_at":"2025-01-19T07:34:03.928Z","dependency_job_id":null,"html_url":"https://github.com/secretshardul/tesseroid-functions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/secretshardul/tesseroid-functions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretshardul%2Ftesseroid-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretshardul%2Ftesseroid-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretshardul%2Ftesseroid-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretshardul%2Ftesseroid-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secretshardul","download_url":"https://codeload.github.com/secretshardul/tesseroid-functions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretshardul%2Ftesseroid-functions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33917183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"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":[],"created_at":"2024-11-18T04:47:59.247Z","updated_at":"2026-06-04T19:31:09.659Z","avatar_url":"https://github.com/secretshardul.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# POST request example\n```sh\ncurl -X POST  https://4a4tavwbnd.execute-api.us-east-1.amazonaws.com/dev/ocr -d \"https://i.imgur.com/zGRdhAT.jpg\"\ncurl -X POST  https://4a4tavwbnd.execute-api.us-east-1.amazonaws.com/dev/ocr -d \"https://i.etsystatic.com/16235847/r/il/b1e59b/2011957531/il_570xN.2011957531_p39l.jpg\"\n# webp- works\ncurl -X POST  https://4a4tavwbnd.execute-api.us-east-1.amazonaws.com/dev/ocr -d \"https://www.online-convert.com/downloadfile/e1faa392-54fc-4aa3-96e8-764b872f6c5f/180d9d302f6308358ec8b8faaed7e74e\"\n# tiff - works\ncurl -X POST  https://4a4tavwbnd.execute-api.us-east-1.amazonaws.com/dev/ocr -d \"https://www.online-convert.com/downloadfile/eefcbca6-e32f-4746-b48c-b79eab426c2d/5e98fef3ab27e890f09bb70257584ec0\"\n# gif- works\ncurl -X POST  https://4a4tavwbnd.execute-api.us-east-1.amazonaws.com/dev/ocr -d \"https://media3.giphy.com/media/D0Uhua2Z1PC8w/source.gif\"\n\n# hebrew post\ncurl -X POST  https://4a4tavwbnd.execute-api.us-east-1.amazonaws.com/dev/ocr -d \"https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQdUtag90lRt2LVqV0MCHiO-w-FCbEpkjSOrOaNB6_3wVvr1kj0\"\n```\n\n# API architecture for POST \n1. parameters: config,extension\n2. Use form-data instead of x-www-form because it supports files also.\n3. pytesseract directly accepts image files, not URLs. But tesseract command line takes url path\n\n# serverless plugins\n```sh\nsls plugin install -n serverless-python-requirements\nsls plugin install -n serverless-pseudo-parameters\n\n# uninstall\nserverless plugin uninstall --n serverless-python-requirements\n```\n\n# shenanigans\n1. don't upgrade python runtime to 3.7, it's causing PIL error- fixed with pipenv\n2. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecretshardul%2Ftesseroid-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecretshardul%2Ftesseroid-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecretshardul%2Ftesseroid-functions/lists"}