{"id":17603113,"url":"https://github.com/yjg30737/pyqt-remove-background-from-image","last_synced_at":"2025-08-24T17:47:17.947Z","repository":{"id":188145378,"uuid":"678181610","full_name":"yjg30737/pyqt-remove-background-from-image","owner":"yjg30737","description":"Python desktop app example of remove background from image with OpenCV, PyTorch","archived":false,"fork":false,"pushed_at":"2023-08-14T02:06:42.000Z","size":5598,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T00:54:55.333Z","etag":null,"topics":["deeplabv3","image-processing","image-segmentation","opencv","opencv-python","pyqt","pyqt5","pyqt5-desktop-application","remove-background","remove-background-image","torch"],"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/yjg30737.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}},"created_at":"2023-08-14T00:20:15.000Z","updated_at":"2024-12-08T15:53:25.000Z","dependencies_parsed_at":"2023-08-14T01:47:49.984Z","dependency_job_id":"fd8a907d-5d9c-46ad-9d6f-9ffb130ff563","html_url":"https://github.com/yjg30737/pyqt-remove-background-from-image","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"f15c2346ca8723c92da78c46b1142cb48229c082"},"previous_names":["yjg30737/pyqt-remove-background-from-image"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-remove-background-from-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-remove-background-from-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-remove-background-from-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-remove-background-from-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjg30737","download_url":"https://codeload.github.com/yjg30737/pyqt-remove-background-from-image/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248689138,"owners_count":21145887,"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":["deeplabv3","image-processing","image-segmentation","opencv","opencv-python","pyqt","pyqt5","pyqt5-desktop-application","remove-background","remove-background-image","torch"],"created_at":"2024-10-22T13:40:01.161Z","updated_at":"2025-04-13T09:20:45.573Z","avatar_url":"https://github.com/yjg30737.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyqt-remove-background-from-image\nPython desktop app example of remove background from image with OpenCV, PyTorch\n\nYou need \u003cb\u003eCUDA\u003c/b\u003e to run this.\n\n## Requirements\n* pillow - to save the image\n* opencv-python - to handle the image file as numpy array and apply Gaussian Blur to make border smooth\n* torch - to use CUDA\n* torchvision - To use deeplab V3 (prominent image segmenation model made by Google)\n\n## How to Run\n1. clone this repo.\n2. `pip install -r requirements.txt` to download necessary packages\n3. python main.py\n\n## After Running\n![image](https://github.com/yjg30737/pyqt-remove-background-from-image/assets/55078043/5cbda5a8-31d3-4ca2-acbe-21f32b4fc1de)\n1. First find the path which including images you want to remove the background.\n- This package has the sample folder to make you get proper images (which is generated by Stable Diffusion) more conviniently.\n2. Press \"Remove Background and Save!\" button. It will make a backup folder and save original images to it and remove the background from the images in folder.\n\n## Result\n\u003cimg src=\"https://github.com/yjg30737/pyqt-remove-background-from-image/assets/55078043/6cce690f-391f-45b6-84e5-e3fff0add25e\" width=\"400\" height=\"400\"\u003e\n\u003cimg src=\"https://github.com/yjg30737/pyqt-remove-background-from-image/assets/55078043/47ec52de-1620-4e1c-b88d-89c6b097d5e2\" width=\"400\" height=\"400\"\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpyqt-remove-background-from-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjg30737%2Fpyqt-remove-background-from-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpyqt-remove-background-from-image/lists"}