{"id":24886744,"url":"https://github.com/elenaches/python-image-scanner-standalone","last_synced_at":"2026-05-04T06:32:07.799Z","repository":{"id":239987182,"uuid":"801185372","full_name":"ElenaChes/Python-Image-scanner-Standalone","owner":"ElenaChes","description":"An image \"scanning\" app written in Python using OpenCV, an improvement of my Image scanner, a standalone app that takes an photo of a paper, and outputs an edited image with the paper properly aligned as though it was scanned.","archived":false,"fork":false,"pushed_at":"2024-05-15T20:25:39.000Z","size":121493,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T15:16:02.692Z","etag":null,"topics":["executable","image-manipulation","image-processing","opencv","opencv-python","python","standalone"],"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/ElenaChes.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":"2024-05-15T18:54:26.000Z","updated_at":"2024-10-28T02:04:00.000Z","dependencies_parsed_at":"2024-05-16T06:56:58.441Z","dependency_job_id":null,"html_url":"https://github.com/ElenaChes/Python-Image-scanner-Standalone","commit_stats":null,"previous_names":["elenaches/python-image-scanner-standalone"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElenaChes%2FPython-Image-scanner-Standalone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElenaChes%2FPython-Image-scanner-Standalone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElenaChes%2FPython-Image-scanner-Standalone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElenaChes%2FPython-Image-scanner-Standalone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElenaChes","download_url":"https://codeload.github.com/ElenaChes/Python-Image-scanner-Standalone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245825665,"owners_count":20678632,"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":["executable","image-manipulation","image-processing","opencv","opencv-python","python","standalone"],"created_at":"2025-02-01T15:16:08.862Z","updated_at":"2026-05-04T06:32:02.745Z","avatar_url":"https://github.com/ElenaChes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image scanner - Standalone\n\n\u003cimg align=\"right\" style=\"width:200px; height:auto;\" src=\"/scanner.ico\"\u003e\n\nAn image \"scanning\" app written in Python using OpenCV.\u003cbr\u003e\nDescription: an improvement of my [Image scanner](https://github.com/ElenaChes/Python-Image-scanner), a standalone app that takes an photo of a paper, and outputs an edited image with the paper properly aligned as though it was scanned.\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003ch3\u003eContent\u003c/h3\u003e\u003c/summary\u003e\n\n- [Dependencies](#dependencies)\n- [Installation](#installation)\n  - [Using the executable](#using-the-executable)\n  - [Running the raw code](#running-the-raw-code)\n  - [Creating an executable from the code](#creating-an-executable-from-the-code)\n- [Usage](#usage)\n\n\u003c/details\u003e\n\u003chr\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg style=\"width:600px; height:auto;\" src=\"https://github.com/ElenaChes/Python-Image-scanner-Standalone/assets/54331769/b9f7e9f6-048d-4d6c-93f9-91b4c0a0ff9f\"\u003e\u003cbr\u003e\n\u003csub\u003eimage.jpg ⇨ image_scanned.png\u003c/sub\u003e\n\u003c/p\u003e\n\n# Dependencies\n\n1. Python 3.7.0\n\nThe app could work with different versions, but this is the one that was tested.\n\n# Installation\n\n## Using the executable\n\n1. Download `Image Scanner.zip` and extract its contents into a folder.\n\n\u003e [!TIP]\n\u003e Create a shortcut for `Image Scanner/Image Scanner.exe` outside the folder to easily access the app.\n\n## Running the raw code\n\n1. Create a new directory, for example `scanner`, and place `imageScanner.py` and `scanner.ico` inside of it.\n2. Open the directory in your Terminal:\n\n```\ncd scanner\n```\n\n3. Create a virtual environment:\n\n```\npython -m venv opencv-env\n```\n\n4. Activate the environment :\n\n```\n.\\opencv-env\\Scripts\\activate\n```\n\n5. Install needed packages:\n\n```\npip install opencv-contrib-python matplotlib\n```\n\n## Creating an executable from the code\n\nTo create `Image Scanner/Image Scanner.exe` the following command was used:\n\n```\npyinstaller --onedir --icon=scanner.ico --add-data=\"scanner.ico;.\" --windowed --name=\"Image Scanner\" imageScanner.py\n```\n\n\u003e While `scanner.ico` is the icon used for the app.\n\nIf you don't want to use an icon you can remove the following line from `imageScanner.py`:\n\n```\nroot.iconbitmap(\"scanner.ico\")\n```\n\nAnd create an executable using:\n\n```\npyinstaller --onedir --windowed --name=\"Image Scanner\" imageScanner.py\n```\n\n# Usage\n\n1. Run `Image Scanner/Image Scanner.exe` (or `imageScanner.py`).\n2. Choose an image to edit.\n3. Choose a location to export the new image to and name it.\n\n\u003e [!NOTE]\n\u003e Common causes for failing to process the image:\n\u003e - The paper isn't visible in its entirety in the input image.\n\u003e - The paper and the background color aren't distinct enough in the input image.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felenaches%2Fpython-image-scanner-standalone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felenaches%2Fpython-image-scanner-standalone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felenaches%2Fpython-image-scanner-standalone/lists"}