{"id":13542964,"url":"https://github.com/cseas/ocr-table","last_synced_at":"2025-07-12T21:34:33.663Z","repository":{"id":41420125,"uuid":"132498923","full_name":"cseas/ocr-table","owner":"cseas","description":"Extract tables from scanned image PDFs using Optical Character Recognition.","archived":false,"fork":false,"pushed_at":"2020-06-09T03:34:45.000Z","size":13377,"stargazers_count":273,"open_issues_count":3,"forks_count":67,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-05-20T14:07:49.301Z","etag":null,"topics":["extract-tables","ocr","ocr-table","optical-character-recognition","pdfminer","python","scanned-image-pdfs","shell","tesseract"],"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/cseas.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":"2018-05-07T18:12:36.000Z","updated_at":"2025-04-06T20:11:54.000Z","dependencies_parsed_at":"2022-09-09T09:51:26.578Z","dependency_job_id":null,"html_url":"https://github.com/cseas/ocr-table","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cseas/ocr-table","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cseas%2Focr-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cseas%2Focr-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cseas%2Focr-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cseas%2Focr-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cseas","download_url":"https://codeload.github.com/cseas/ocr-table/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cseas%2Focr-table/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265059538,"owners_count":23705221,"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":["extract-tables","ocr","ocr-table","optical-character-recognition","pdfminer","python","scanned-image-pdfs","shell","tesseract"],"created_at":"2024-08-01T11:00:20.501Z","updated_at":"2025-07-12T21:34:33.642Z","avatar_url":"https://github.com/cseas.png","language":"Python","funding_links":[],"categories":["Table detection","Python"],"sub_categories":["Form Segmentation"],"readme":"# ocr-table\nThis project aims to extract tables from scanned image PDFs using Optical Character Recognition.\n\n# Install Requirements\n\n1. Tesseract OCR\n\t```sh\n\tsudo apt-get install tesseract-ocr\n\t```\n\n2. Imagemagick\n\t```sh\n\tsudo apt-get install imagemagick\n\t```\n\n3. PDF Utilities\n\t```sh\n\tsudo apt-get install poppler-utils\n\t```\n\n4. Python packages\n\t```sh\n\tsudo pip install -r requirements.txt\n\t```\n\n# Usage\n\n1. Clear the [pdf/](pdf) folder and copy all your pdf files to be scanned in it.\n\n2. Run the OCR:\n\t```sh\n\tpython3 shellocr.py\n\t```\n\n3. The scanned text files shall be available in the [txt/](txt) folder once the process completes.\n\n# Alternate\n\n1. If the above doesn't work for you, try the alternate method.\n\n2. Save your file as input.pdf in the root directory.\n\n3. Run\n\t```sh\n\tpython3 pdf_miner.py \n\t```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcseas%2Focr-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcseas%2Focr-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcseas%2Focr-table/lists"}