{"id":22654210,"url":"https://github.com/myatmyintzuthin/extract-table","last_synced_at":"2025-03-29T07:41:57.310Z","repository":{"id":185552691,"uuid":"604566766","full_name":"myatmyintzuthin/extract-table","owner":"myatmyintzuthin","description":"Table Cell Coordinate Extraction From Image","archived":false,"fork":false,"pushed_at":"2024-03-19T04:53:54.000Z","size":517,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T21:34:41.014Z","etag":null,"topics":["image-processing","table-extraction"],"latest_commit_sha":null,"homepage":"","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/myatmyintzuthin.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":"2023-02-21T10:33:16.000Z","updated_at":"2025-01-30T19:44:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"878f02cd-9207-4253-9390-ca14da345c03","html_url":"https://github.com/myatmyintzuthin/extract-table","commit_stats":null,"previous_names":["myatmyintzuthin/extract-table"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myatmyintzuthin%2Fextract-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myatmyintzuthin%2Fextract-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myatmyintzuthin%2Fextract-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myatmyintzuthin%2Fextract-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myatmyintzuthin","download_url":"https://codeload.github.com/myatmyintzuthin/extract-table/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246156014,"owners_count":20732357,"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":["image-processing","table-extraction"],"created_at":"2024-12-09T09:34:48.130Z","updated_at":"2025-03-29T07:41:57.288Z","avatar_url":"https://github.com/myatmyintzuthin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Table Cell Extraction\n![OpenCV](https://img.shields.io/badge/opencv-%23white.svg?style=for-the-badge\u0026logo=opencv\u0026logoColor=white)\n![NumPy](https://img.shields.io/badge/numpy-%23013243.svg?style=for-the-badge\u0026logo=numpy\u0026logoColor=white)\n![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge\u0026logo=python\u0026logoColor=ffdd54)\n\nThis repository consists of a simple image processing script to extract coordinate of each cell in a table image. \\\nThe script can extract tables irrespective of image size. \n\nThe result will be contour image and json output with position of each cell.\n\n\n## Install Dependencies\n```code\npip install -r requirements.txt\n```\n\n## Run Table Extraction\n```code\npython src/extractTable.py -i test_data/test_table1.png\n```\n\n## Cell Visualization\n\nOriginal Image             |  Contour Image\n:-------------------------:|:-------------------------:\n![](test_data/test_table2.png)  |  ![](test_data/test_table2_contour.png)\n![](test_data/test_table3.png)  |  ![](test_data/test_table3_contour.png)\n\n\n## Cell Coordinate Result\n\n```\n{\n  \"width\": 161,\n  \"height\": 297,\n  \"results\": [\n    {\n      \"x\": 0,\n      \"y\": 0,\n      \"width\": 161,\n      \"height\": 297\n    },\n    {\n      \"x\": 10,\n      \"y\": 241,\n      \"width\": 141,\n      \"height\": 49\n    }\n    ]\n}\n```\n\n## Appendix\nfor C++ implementation, go to `C++` branch.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyatmyintzuthin%2Fextract-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyatmyintzuthin%2Fextract-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyatmyintzuthin%2Fextract-table/lists"}