{"id":18720958,"url":"https://github.com/rfdzan/contours","last_synced_at":"2025-11-10T22:30:16.883Z","repository":{"id":190302896,"uuid":"682079062","full_name":"rfdzan/contours","owner":"rfdzan","description":"extract bright objects (like receipts) from a dark background","archived":false,"fork":false,"pushed_at":"2024-05-14T09:18:47.000Z","size":1059,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T11:32:23.646Z","etag":null,"topics":["computer-vision","opencv-python"],"latest_commit_sha":null,"homepage":"","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/rfdzan.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}},"created_at":"2023-08-23T11:49:18.000Z","updated_at":"2024-05-14T09:18:47.000Z","dependencies_parsed_at":"2024-05-14T10:53:07.813Z","dependency_job_id":null,"html_url":"https://github.com/rfdzan/contours","commit_stats":null,"previous_names":["hkohko/opencv-contours-receipt","rfdzan/contours"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfdzan%2Fcontours","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfdzan%2Fcontours/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfdzan%2Fcontours/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfdzan%2Fcontours/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rfdzan","download_url":"https://codeload.github.com/rfdzan/contours/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239584511,"owners_count":19663407,"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":["computer-vision","opencv-python"],"created_at":"2024-11-07T13:33:08.634Z","updated_at":"2025-11-10T22:30:16.823Z","avatar_url":"https://github.com/rfdzan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contours\nA simple CLI tool to extract things like receipts from an image containing multiple receipts.\n# Why\nMy phone of 5 years was broken and wouldn't turn on. I handle a lot of financial transactions in my family and I lost the ability to have an automated environment to store these receipts along with my phone.  \n\nI relied on this tool for a month and it served me well until I got my new phone.  \n\n# Usage:\n*Requires Python 3.11 or above*\n\n1. Clone this repo  \n\n`HTTP`\n```\ngit clone https://github.com/rfdzan/contours.git\n```\n`SSH`\n```\ngit clone git@github.com:rfdzan/contours.git\n```\n2. Create a virtual environment (Recommended)  \n```\ncd contours/\npython -m venv .\n```\n3. Install dependencies (there's only OpenCV)\n```\npip install -r requirements.txt\n```\n# How to Use:  \n## First time user:  \nRun `python app/main.py` once, and close it. \nThis is to make sure you have all the directories in the project folder:\n1. `collage/`\n2. `extracted_images/`\n\nOr you can just create it manually, up to you.\n\n## Moving on  \n1. Put your collage image in the `collage/` folder.\n2. Run `python app/main.py`, and type in the collage image filename. It doesn't have to be exact, just a string of words that the filename contains is fine.\n3. Press `enter` and your chopped-up image is in `extracted_images/`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frfdzan%2Fcontours","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frfdzan%2Fcontours","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frfdzan%2Fcontours/lists"}